diff --git a/account_fiscal_year/README.rst b/account_fiscal_year/README.rst new file mode 100644 index 000000000000..49d089a0c289 --- /dev/null +++ b/account_fiscal_year/README.rst @@ -0,0 +1,89 @@ +=================== +Account Fiscal Year +=================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/13.0/account_fiscal_year + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_fiscal_year + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module just adds the menu + +Invoicing > Configuration > Accounting > Fiscal Years + +This is totally refactored compared to 11 version, because odoo 12 introduced `account.fiscal.year` object. +See https://github.com/OCA/account-financial-tools/pull/706 + +**Table of contents** + +.. contents:: + :local: + +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 +~~~~~~~ + +* Agile Business Group +* Camptocamp SA + +Contributors +~~~~~~~~~~~~ + +* Damien Crier +* Laurent Mignon +* Lorenzo Battistini + +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. + +.. |maintainer-eLBati| image:: https://github.com/eLBati.png?size=40px + :target: https://github.com/eLBati + :alt: eLBati + +Current `maintainer `__: + +|maintainer-eLBati| + +This module is part of the `OCA/account-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_fiscal_year/__init__.py b/account_fiscal_year/__init__.py new file mode 100644 index 000000000000..d6e7b2e6cce9 --- /dev/null +++ b/account_fiscal_year/__init__.py @@ -0,0 +1 @@ +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). diff --git a/account_fiscal_year/__manifest__.py b/account_fiscal_year/__manifest__.py new file mode 100644 index 000000000000..cea055a83e6a --- /dev/null +++ b/account_fiscal_year/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2016 Camptocamp SA +# Copyright 2018 Lorenzo Battistini +# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl). +{ + "name": "Account Fiscal Year", + "summary": "Create a menu for Account Fiscal Year", + "version": "13.0.1.0.0", + "development_status": "Beta", + "category": "Accounting", + "website": "https://github.com/OCA/account-financial-tools", + "author": "Agile Business Group, Camptocamp SA, " + "Odoo Community Association (OCA)", + "maintainers": ["eLBati"], + "license": "LGPL-3", + "application": False, + "installable": True, + "depends": ["account", "date_range"], + "data": ["data/date_range_type.xml", "views/account_views.xml"], +} diff --git a/account_fiscal_year/data/date_range_type.xml b/account_fiscal_year/data/date_range_type.xml new file mode 100644 index 000000000000..74137767a8ad --- /dev/null +++ b/account_fiscal_year/data/date_range_type.xml @@ -0,0 +1,7 @@ + + + + Fiscal Year + + + diff --git a/account_fiscal_year/i18n/account_fiscal_year.pot b/account_fiscal_year/i18n/account_fiscal_year.pot new file mode 100644 index 000000000000..dcf5dac6ec62 --- /dev/null +++ b/account_fiscal_year/i18n/account_fiscal_year.pot @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.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: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year +msgid "Fiscal Years" +msgstr "" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action +msgid "Generate Date Ranges" +msgstr "" + diff --git a/account_fiscal_year/i18n/it.po b/account_fiscal_year/i18n/it.po new file mode 100644 index 000000000000..3da6e8b6eadf --- /dev/null +++ b/account_fiscal_year/i18n/it.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2018-12-24 16:58+0000\n" +"Last-Translator: Sergio Zanchetta \n" +"Language-Team: none\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 3.3\n" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Tipi di intervallo data" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Intervalli data" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Intervalli data" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +#, fuzzy +#| msgid "Fiscal Years" +msgid "Fiscal Year" +msgstr "Anni fiscali" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year +msgid "Fiscal Years" +msgstr "Anni fiscali" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action +msgid "Generate Date Ranges" +msgstr "Generazione intervalli data" diff --git a/account_fiscal_year/i18n/nl.po b/account_fiscal_year/i18n/nl.po new file mode 100644 index 000000000000..b96b2091fc47 --- /dev/null +++ b/account_fiscal_year/i18n/nl.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_fiscal_year +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 12.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2019-08-21 12:44+0000\n" +"Last-Translator: Yung-Wa \n" +"Language-Team: none\n" +"Language: 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" +"X-Generator: Weblate 3.7.1\n" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_type_action_accounting +msgid "Date Range Types" +msgstr "Datumreek types" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_action_accounting +msgid "Date Ranges" +msgstr "Datumreeksen" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_accounting +msgid "Date ranges" +msgstr "Datumreeksen" + +#. module: account_fiscal_year +#: model:date.range.type,name:account_fiscal_year.fiscalyear +msgid "Fiscal Year" +msgstr "Fiscaal jaar" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_actions_account_fiscal_year +msgid "Fiscal Years" +msgstr "Fiscale jaren" + +#. module: account_fiscal_year +#: model:ir.ui.menu,name:account_fiscal_year.menu_date_range_generator_action +msgid "Generate Date Ranges" +msgstr "Genereer datumreeksen" diff --git a/account_fiscal_year/readme/CONTRIBUTORS.rst b/account_fiscal_year/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..f159ad879c01 --- /dev/null +++ b/account_fiscal_year/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Damien Crier +* Laurent Mignon +* Lorenzo Battistini +* Andrea Stirpe diff --git a/account_fiscal_year/readme/DESCRIPTION.rst b/account_fiscal_year/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..97d0061544df --- /dev/null +++ b/account_fiscal_year/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +This module just adds the menu + +Invoicing > Configuration > Accounting > Date ranges > Fiscal Years + +This is totally refactored compared to 11 version, because odoo 12 introduced `account.fiscal.year` object. +See https://github.com/OCA/account-financial-tools/pull/706 diff --git a/account_fiscal_year/static/description/icon.png b/account_fiscal_year/static/description/icon.png new file mode 100644 index 000000000000..3a0328b516c4 Binary files /dev/null and b/account_fiscal_year/static/description/icon.png differ diff --git a/account_fiscal_year/static/description/index.html b/account_fiscal_year/static/description/index.html new file mode 100644 index 000000000000..c3a0b1efe39d --- /dev/null +++ b/account_fiscal_year/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +Account Fiscal Year + + + +
+

Account Fiscal Year

+ + +

Beta License: LGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

+

This module just adds the menu

+

Invoicing > Configuration > Accounting > Fiscal Years

+

This is totally refactored compared to 11 version, because odoo 12 introduced account.fiscal.year object. +See https://github.com/OCA/account-financial-tools/pull/706

+

Table of contents

+ +
+

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

+
    +
  • Agile Business Group
  • +
  • Camptocamp SA
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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.

+

Current maintainer:

+

eLBati

+

This module is part of the OCA/account-financial-tools project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_fiscal_year/views/account_views.xml b/account_fiscal_year/views/account_views.xml new file mode 100644 index 000000000000..a4361f211e3b --- /dev/null +++ b/account_fiscal_year/views/account_views.xml @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/oca_dependencies.txt b/oca_dependencies.txt new file mode 100644 index 000000000000..d33758b84c97 --- /dev/null +++ b/oca_dependencies.txt @@ -0,0 +1 @@ +server-ux https://github.com/Eficent/server-ux 13.0-mig-date_range