Bugs are tracked on GitHub Issues.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+feedback.
+
Do not contact contributors directly about support or help with technical issues.
OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
This module is part of the OCA/hr-expense project on GitHub.
+
+
+
+
diff --git a/hr_expense_sequence/README.rst b/hr_expense_sequence/README.rst
new file mode 100644
index 000000000..b741161de
--- /dev/null
+++ b/hr_expense_sequence/README.rst
@@ -0,0 +1,86 @@
+===================
+HR expense sequence
+===================
+
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! This file is generated by oca-gen-addon-readme !!
+ !! changes will be overwritten. !!
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+
+.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
+ :target: https://odoo-community.org/page/development-status
+ :alt: Beta
+.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+ :alt: License: AGPL-3
+.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr--expense-lightgray.png?logo=github
+ :target: https://github.com/OCA/hr-expense/tree/15.0/hr_expense_sequence
+ :alt: OCA/hr-expense
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+ :target: https://translation.odoo-community.org/projects/hr-expense-15-0/hr-expense-15-0-hr_expense_sequence
+ :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
+ :target: https://runbot.odoo-community.org/runbot/289/15.0
+ :alt: Try me on Runbot
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
+
+This module adds the possibility to define a sequence for the expense report's reference.
+This reference is then set as default when you create a new expense report, using the defined sequence.
+
+**Table of contents**
+
+.. contents::
+ :local:
+
+Configuration
+=============
+
+You can change the default sequence (EX0001) by the one of your choice
+going to *Settings > Technical > Sequences & Identifiers > Sequences*, and
+editing the record `Expense Report sequence`.
+
+You will only have access to that section if your section has `Technical features`
+permission check marked.
+
+Bug Tracker
+===========
+
+Bugs are tracked on `GitHub Issues `_.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+`feedback `_.
+
+Do not contact contributors directly about support or help with technical issues.
+
+Credits
+=======
+
+Authors
+~~~~~~~
+
+* Serv. Tecnol. Avanzados - Pedro M. Baeza
+
+Contributors
+~~~~~~~~~~~~
+
+* Pedro M. Baeza
+* Pimolnat Suntian
+* Saran Lim.
+
+Maintainers
+~~~~~~~~~~~
+
+This module is maintained by the OCA.
+
+.. image:: https://odoo-community.org/logo.png
+ :alt: Odoo Community Association
+ :target: https://odoo-community.org
+
+OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
+This module is part of the `OCA/hr-expense `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/hr_expense_sequence/__init__.py b/hr_expense_sequence/__init__.py
new file mode 100644
index 000000000..dc8f4578f
--- /dev/null
+++ b/hr_expense_sequence/__init__.py
@@ -0,0 +1,4 @@
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+from . import models
+from .hooks import assign_old_sequences
diff --git a/hr_expense_sequence/__manifest__.py b/hr_expense_sequence/__manifest__.py
new file mode 100644
index 000000000..765dc93ca
--- /dev/null
+++ b/hr_expense_sequence/__manifest__.py
@@ -0,0 +1,21 @@
+# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+# Pedro M. Baeza
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+{
+ "name": "HR expense sequence",
+ "version": "15.0.1.0.0",
+ "license": "AGPL-3",
+ "category": "Human Resources",
+ "author": "Serv. Tecnol. Avanzados - Pedro M. Baeza,"
+ "Odoo Community Association (OCA)",
+ "website": "https://github.com/OCA/hr-expense",
+ "depends": ["hr_expense"],
+ "data": [
+ "data/hr_expense_data.xml",
+ "views/hr_expense_expense_view.xml",
+ "report/report_expense_sheet.xml",
+ ],
+ "installable": True,
+ "post_init_hook": "assign_old_sequences",
+}
diff --git a/hr_expense_sequence/data/hr_expense_data.xml b/hr_expense_sequence/data/hr_expense_data.xml
new file mode 100644
index 000000000..8d12f4d48
--- /dev/null
+++ b/hr_expense_sequence/data/hr_expense_data.xml
@@ -0,0 +1,9 @@
+
+
+
+ Expense report sequence
+ hr.expense.sheet
+
+ EX
+
+
diff --git a/hr_expense_sequence/hooks.py b/hr_expense_sequence/hooks.py
new file mode 100644
index 000000000..588a6a957
--- /dev/null
+++ b/hr_expense_sequence/hooks.py
@@ -0,0 +1,13 @@
+# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+# Pedro M. Baeza
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+from odoo import SUPERUSER_ID, api
+
+
+def assign_old_sequences(cr, registry):
+ env = api.Environment(cr, SUPERUSER_ID, {})
+ expense_obj = env["hr.expense.sheet"]
+ sequence_obj = env["ir.sequence"]
+ for expense in expense_obj.search([], order="id"):
+ expense.write({"number": sequence_obj.next_by_code("hr.expense.sheet")})
diff --git a/hr_expense_sequence/i18n/cs_CZ.po b/hr_expense_sequence/i18n/cs_CZ.po
new file mode 100644
index 000000000..2c5025186
--- /dev/null
+++ b/hr_expense_sequence/i18n/cs_CZ.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# Lukáš Spurný , 2018
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-23 03:45+0000\n"
+"PO-Revision-Date: 2018-02-23 03:45+0000\n"
+"Last-Translator: Lukáš Spurný , 2018\n"
+"Language-Team: Czech (Czech Republic) (https://www.transifex.com/oca/"
+"teams/23907/cs_CZ/)\n"
+"Language: cs_CZ\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Zpráva o výdajích"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Zpráva o nákladech"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Číslo"
diff --git a/hr_expense_sequence/i18n/de.po b/hr_expense_sequence/i18n/de.po
new file mode 100644
index 000000000..315867f9b
--- /dev/null
+++ b/hr_expense_sequence/i18n/de.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2018-12-18 15:58+0000\n"
+"Last-Translator: Maria Sparenberg \n"
+"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 3.3\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Spesen-Bericht"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Spesen-Bericht"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Nummer"
diff --git a/hr_expense_sequence/i18n/es.po b/hr_expense_sequence/i18n/es.po
new file mode 100644
index 000000000..61529afa0
--- /dev/null
+++ b/hr_expense_sequence/i18n/es.po
@@ -0,0 +1,34 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2017-07-01 01:04+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Número"
diff --git a/hr_expense_sequence/i18n/fi.po b/hr_expense_sequence/i18n/fi.po
new file mode 100644
index 000000000..0ac819b73
--- /dev/null
+++ b/hr_expense_sequence/i18n/fi.po
@@ -0,0 +1,34 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2017-07-01 01:04+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n"
+"Language: fi\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Numero"
diff --git a/hr_expense_sequence/i18n/fr.po b/hr_expense_sequence/i18n/fr.po
new file mode 100644
index 000000000..6eabc5304
--- /dev/null
+++ b/hr_expense_sequence/i18n/fr.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# guillaume bauer , 2017
+# Alexandre Fayolle , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-02-23 03:45+0000\n"
+"PO-Revision-Date: 2018-02-23 03:45+0000\n"
+"Last-Translator: Alexandre Fayolle , 2017\n"
+"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
+"Language: fr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Rapport de dépenses"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Rapport de dépenses"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Numéro"
diff --git a/hr_expense_sequence/i18n/hr.po b/hr_expense_sequence/i18n/hr.po
new file mode 100644
index 000000000..84a2dc06d
--- /dev/null
+++ b/hr_expense_sequence/i18n/hr.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# Bole , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-04 06:52+0000\n"
+"PO-Revision-Date: 2017-07-04 06:52+0000\n"
+"Last-Translator: Bole , 2017\n"
+"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
+"Language: hr\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Izvještaj troškova"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Izvještaji troškova"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Broj"
diff --git a/hr_expense_sequence/i18n/hr_expense_sequence.pot b/hr_expense_sequence/i18n/hr_expense_sequence.pot
new file mode 100644
index 000000000..0150467a7
--- /dev/null
+++ b/hr_expense_sequence/i18n/hr_expense_sequence.pot
@@ -0,0 +1,24 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 15.0\n"
+"Report-Msgid-Bugs-To: \n"
+"Last-Translator: \n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr ""
diff --git a/hr_expense_sequence/i18n/it.po b/hr_expense_sequence/i18n/it.po
new file mode 100644
index 000000000..af57d29db
--- /dev/null
+++ b/hr_expense_sequence/i18n/it.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2022-12-20 15:46+0000\n"
+"Last-Translator: mymage \n"
+"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
+"Language: it\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 4.14.1\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Resoconto spesa"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Resoconto spese"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Numero"
diff --git a/hr_expense_sequence/i18n/nl_NL.po b/hr_expense_sequence/i18n/nl_NL.po
new file mode 100644
index 000000000..a567a8a82
--- /dev/null
+++ b/hr_expense_sequence/i18n/nl_NL.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# Peter Hageman , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2017-07-01 01:04+0000\n"
+"Last-Translator: Peter Hageman , 2017\n"
+"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
+"teams/23907/nl_NL/)\n"
+"Language: nl_NL\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Onkostennota"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Onkostenrapport"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Nummer"
diff --git a/hr_expense_sequence/i18n/pt_BR.po b/hr_expense_sequence/i18n/pt_BR.po
new file mode 100644
index 000000000..79849a3c2
--- /dev/null
+++ b/hr_expense_sequence/i18n/pt_BR.po
@@ -0,0 +1,36 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2022-02-01 19:33+0000\n"
+"Last-Translator: Rodrigo Macedo \n"
+"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/"
+"23907/pt_BR/)\n"
+"Language: pt_BR\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=2; plural=n > 1;\n"
+"X-Generator: Weblate 4.3.2\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr "Relatório de despesa"
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr "Relatórios de despesas"
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Número"
diff --git a/hr_expense_sequence/i18n/sl.po b/hr_expense_sequence/i18n/sl.po
new file mode 100644
index 000000000..14b3be904
--- /dev/null
+++ b/hr_expense_sequence/i18n/sl.po
@@ -0,0 +1,35 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * hr_expense_sequence
+#
+# Translators:
+# OCA Transbot , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-07-01 01:04+0000\n"
+"PO-Revision-Date: 2017-07-01 01:04+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
+"%100==4 ? 2 : 3);\n"
+
+#. module: hr_expense_sequence
+#: model:ir.model,name:hr_expense_sequence.model_hr_expense_sheet
+msgid "Expense Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model_terms:ir.ui.view,arch_db:hr_expense_sequence.report_expense_sheet
+msgid "Expenses Report"
+msgstr ""
+
+#. module: hr_expense_sequence
+#: model:ir.model.fields,field_description:hr_expense_sequence.field_hr_expense_sheet__number
+msgid "Number"
+msgstr "Številka"
diff --git a/hr_expense_sequence/models/__init__.py b/hr_expense_sequence/models/__init__.py
new file mode 100644
index 000000000..8855b0755
--- /dev/null
+++ b/hr_expense_sequence/models/__init__.py
@@ -0,0 +1,3 @@
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+from . import hr_expense_sheet
diff --git a/hr_expense_sequence/models/hr_expense_sheet.py b/hr_expense_sequence/models/hr_expense_sheet.py
new file mode 100644
index 000000000..f4db36a43
--- /dev/null
+++ b/hr_expense_sequence/models/hr_expense_sheet.py
@@ -0,0 +1,19 @@
+# Copyright 2014 Serv. Tecnol. Avanzados (http://www.serviciosbaeza.com)
+# Pedro M. Baeza
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
+from odoo import api, fields, models
+
+
+class HrExpenseSheet(models.Model):
+ _inherit = "hr.expense.sheet"
+ _rec_name = "number"
+
+ number = fields.Char(required=True, default="/", readonly=True, copy=False)
+
+ @api.model
+ def create(self, vals):
+ if vals.get("number", "/") == "/":
+ number = self.env["ir.sequence"].next_by_code("hr.expense.sheet") or "/"
+ vals["number"] = number
+ return super().create(vals)
diff --git a/hr_expense_sequence/readme/CONFIGURE.rst b/hr_expense_sequence/readme/CONFIGURE.rst
new file mode 100644
index 000000000..2486a712f
--- /dev/null
+++ b/hr_expense_sequence/readme/CONFIGURE.rst
@@ -0,0 +1,6 @@
+You can change the default sequence (EX0001) by the one of your choice
+going to *Settings > Technical > Sequences & Identifiers > Sequences*, and
+editing the record `Expense Report sequence`.
+
+You will only have access to that section if your section has `Technical features`
+permission check marked.
diff --git a/hr_expense_sequence/readme/CONTRIBUTORS.rst b/hr_expense_sequence/readme/CONTRIBUTORS.rst
new file mode 100644
index 000000000..b33c040d4
--- /dev/null
+++ b/hr_expense_sequence/readme/CONTRIBUTORS.rst
@@ -0,0 +1,3 @@
+* Pedro M. Baeza
+* Pimolnat Suntian
+* Saran Lim.
diff --git a/hr_expense_sequence/readme/DESCRIPTION.rst b/hr_expense_sequence/readme/DESCRIPTION.rst
new file mode 100644
index 000000000..a26f99d2c
--- /dev/null
+++ b/hr_expense_sequence/readme/DESCRIPTION.rst
@@ -0,0 +1,2 @@
+This module adds the possibility to define a sequence for the expense report's reference.
+This reference is then set as default when you create a new expense report, using the defined sequence.
diff --git a/hr_expense_sequence/report/report_expense_sheet.xml b/hr_expense_sequence/report/report_expense_sheet.xml
new file mode 100644
index 000000000..971086973
--- /dev/null
+++ b/hr_expense_sequence/report/report_expense_sheet.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/hr_expense_sequence/static/description/icon.png b/hr_expense_sequence/static/description/icon.png
new file mode 100644
index 000000000..91af287db
Binary files /dev/null and b/hr_expense_sequence/static/description/icon.png differ
diff --git a/hr_expense_sequence/static/description/index.html b/hr_expense_sequence/static/description/index.html
new file mode 100644
index 000000000..6394c35c2
--- /dev/null
+++ b/hr_expense_sequence/static/description/index.html
@@ -0,0 +1,431 @@
+
+
+
+
+
+
+HR expense sequence
+
+
+
+
+
HR expense sequence
+
+
+
+
This module adds the possibility to define a sequence for the expense report’s reference.
+This reference is then set as default when you create a new expense report, using the defined sequence.
You can change the default sequence (EX0001) by the one of your choice
+going to Settings > Technical > Sequences & Identifiers > Sequences, and
+editing the record Expense Report sequence.
+
You will only have access to that section if your section has Technical features
+permission check marked.
Bugs are tracked on GitHub Issues.
+In case of trouble, please check there if your issue has already been reported.
+If you spotted it first, help us smashing it by providing a detailed and welcomed
+feedback.
+
Do not contact contributors directly about support or help with technical issues.
OCA, or the Odoo Community Association, is a nonprofit organization whose
+mission is to support the collaborative development of Odoo features and
+promote its widespread use.
+
This module is part of the OCA/hr-expense project on GitHub.