diff --git a/date_range_account/README.rst b/date_range_account/README.rst new file mode 100644 index 0000000000..b39bc0a1a0 --- /dev/null +++ b/date_range_account/README.rst @@ -0,0 +1,86 @@ +================== +Date Range Account +================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:328414bd34211795c33c3bfbac9451ba80f870bc28897f156c9183b3eb996343 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |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%2Fserver--ux-lightgray.png?logo=github + :target: https://github.com/OCA/server-ux/tree/17.0/date_range_account + :alt: OCA/server-ux +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/server-ux-17-0/server-ux-17-0-date_range_account + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=17.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This is a small glue module between **date_range** and **account**. It +allows the *Accounting Manager* to access the *Date Range* menu entry +under *Invoicing > Configuration > Date Range*. + +**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 to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Akretion + +Contributors +------------ + +- Alexis de Lattre + +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-alexis-via| image:: https://github.com/alexis-via.png?size=40px + :target: https://github.com/alexis-via + :alt: alexis-via + +Current `maintainer `__: + +|maintainer-alexis-via| + +This module is part of the `OCA/server-ux `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/date_range_account/__init__.py b/date_range_account/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/date_range_account/__manifest__.py b/date_range_account/__manifest__.py new file mode 100644 index 0000000000..185c37ff4f --- /dev/null +++ b/date_range_account/__manifest__.py @@ -0,0 +1,21 @@ +# Copyright 2021 Akretion France (http://www.akretion.com/) +# @author: Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Date Range Account", + "version": "17.0.1.0.0", + "category": "Accounting", + "license": "AGPL-3", + "summary": "Add Date Range menu entry in Invoicing app", + "author": "Akretion,Odoo Community Association (OCA)", + "maintainers": ["alexis-via"], + "website": "https://github.com/OCA/server-ux", + "depends": ["account", "date_range"], + "data": [ + "views/date_range.xml", + "security/ir.model.access.csv", + ], + "installable": True, + "auto_install": True, +} diff --git a/date_range_account/i18n/date_range_account.pot b/date_range_account/i18n/date_range_account.pot new file mode 100644 index 0000000000..6a568aaae1 --- /dev/null +++ b/date_range_account/i18n/date_range_account.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * date_range_account +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.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: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_type +msgid "Date Range Types" +msgstr "" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range +#: model:ir.ui.menu,name:date_range_account.menu_date_range_root +msgid "Date Ranges" +msgstr "" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_generator +msgid "Generate Date Ranges" +msgstr "" diff --git a/date_range_account/i18n/es.po b/date_range_account/i18n/es.po new file mode 100644 index 0000000000..079714682b --- /dev/null +++ b/date_range_account/i18n/es.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * date_range_account +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-05-18 09:05+0000\n" +"Last-Translator: alvaro-domatix \n" +"Language-Team: none\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" +"X-Generator: Weblate 4.3.2\n" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_type +msgid "Date Range Types" +msgstr "Tipos de rango de fechas" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range +#: model:ir.ui.menu,name:date_range_account.menu_date_range_root +msgid "Date Ranges" +msgstr "Rangos de fecha" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_generator +msgid "Generate Date Ranges" +msgstr "Generar rangos de fechas" + +#~ msgid "Date ranges" +#~ msgstr "Rangos de fecha" diff --git a/date_range_account/i18n/fr.po b/date_range_account/i18n/fr.po new file mode 100644 index 0000000000..93844c673f --- /dev/null +++ b/date_range_account/i18n/fr.po @@ -0,0 +1,36 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * date_range_account +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-03 20:38+0000\n" +"Last-Translator: Alexis de Lattre \n" +"Language-Team: none\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" +"X-Generator: Weblate 4.17\n" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_type +msgid "Date Range Types" +msgstr "Types de plages de dates" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range +#: model:ir.ui.menu,name:date_range_account.menu_date_range_root +msgid "Date Ranges" +msgstr "Plages de dates" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_generator +msgid "Generate Date Ranges" +msgstr "Générer les plages de dates" + +#~ msgid "Date ranges" +#~ msgstr "Plages de dates" diff --git a/date_range_account/i18n/it.po b/date_range_account/i18n/it.po new file mode 100644 index 0000000000..ca5f30211e --- /dev/null +++ b/date_range_account/i18n/it.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * date_range_account +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-12-29 15:19+0000\n" +"Last-Translator: mymage \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 4.17\n" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_type +msgid "Date Range Types" +msgstr "Tipi di intervallo data" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range +#: model:ir.ui.menu,name:date_range_account.menu_date_range_root +msgid "Date Ranges" +msgstr "Intervalli data" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_generator +msgid "Generate Date Ranges" +msgstr "Generazione intervalli data" diff --git a/date_range_account/i18n/nl.po b/date_range_account/i18n/nl.po new file mode 100644 index 0000000000..081a109371 --- /dev/null +++ b/date_range_account/i18n/nl.po @@ -0,0 +1,33 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * date_range_account +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2023-11-21 09:35+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 4.17\n" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_type +msgid "Date Range Types" +msgstr "Datumbereik typen" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range +#: model:ir.ui.menu,name:date_range_account.menu_date_range_root +msgid "Date Ranges" +msgstr "Datumbereiken" + +#. module: date_range_account +#: model:ir.ui.menu,name:date_range_account.menu_date_range_generator +msgid "Generate Date Ranges" +msgstr "Datumbereiken genereren" diff --git a/date_range_account/pyproject.toml b/date_range_account/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/date_range_account/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/date_range_account/readme/CONTRIBUTORS.md b/date_range_account/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..8645a33748 --- /dev/null +++ b/date_range_account/readme/CONTRIBUTORS.md @@ -0,0 +1,4 @@ +- Alexis de Lattre \<\> + +- [APSL](https://apsl.tech): + - Miquel Pascual \<\> \ No newline at end of file diff --git a/date_range_account/readme/DESCRIPTION.md b/date_range_account/readme/DESCRIPTION.md new file mode 100644 index 0000000000..6b8d7f7764 --- /dev/null +++ b/date_range_account/readme/DESCRIPTION.md @@ -0,0 +1,3 @@ +This is a small glue module between **date_range** and **account**. It +allows the *Accounting Manager* to access the *Date Range* menu entry +under *Invoicing \> Configuration \> Date Range*. diff --git a/date_range_account/security/ir.model.access.csv b/date_range_account/security/ir.model.access.csv new file mode 100644 index 0000000000..fa70396dbc --- /dev/null +++ b/date_range_account/security/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_date_range_account_manager,Full access on date.range to account manager,date_range.model_date_range,account.group_account_manager,1,1,1,1 +access_date_range_type_account_manager,Full access on date.range.type to account manager,date_range.model_date_range_type,account.group_account_manager,1,1,1,1 +access_date_range_generator_account_manager,Full access on date.range.generator wizard to account manager,date_range.model_date_range_generator,account.group_account_manager,1,1,1,1 diff --git a/date_range_account/static/description/icon.png b/date_range_account/static/description/icon.png new file mode 100644 index 0000000000..3a0328b516 Binary files /dev/null and b/date_range_account/static/description/icon.png differ diff --git a/date_range_account/static/description/index.html b/date_range_account/static/description/index.html new file mode 100644 index 0000000000..436450d620 --- /dev/null +++ b/date_range_account/static/description/index.html @@ -0,0 +1,427 @@ + + + + + +Date Range Account + + + +
+

Date Range Account

+ + +

Beta License: AGPL-3 OCA/server-ux Translate me on Weblate Try me on Runboat

+

This is a small glue module between date_range and account. It +allows the Accounting Manager to access the Date Range menu entry +under Invoicing > Configuration > Date Range.

+

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 to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Akretion
  • +
+
+
+

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:

+

alexis-via

+

This module is part of the OCA/server-ux project on GitHub.

+

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

+
+
+
+ + diff --git a/date_range_account/views/date_range.xml b/date_range_account/views/date_range.xml new file mode 100644 index 0000000000..3df49d1990 --- /dev/null +++ b/date_range_account/views/date_range.xml @@ -0,0 +1,31 @@ + + + + + + + + + + +