diff --git a/account_tag_menu/README.rst b/account_tag_menu/README.rst new file mode 100644 index 000000000..3d6838577 --- /dev/null +++ b/account_tag_menu/README.rst @@ -0,0 +1,75 @@ +================ +Account Tag Menu +================ + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Faccount--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_tag_menu + :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-12-0/account-financial-tools-12-0-account_tag_menu + :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/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds a menu entry **Account Tags** under *Invoicing > Configuration > Accounting*, +because this menu entry doesn't exists in the official *account* module of Odoo 12. + +**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 +~~~~~~~ + +* Forest and Biomass Romania + +Contributors +~~~~~~~~~~~~ + +* Fekete Mihai +* Raf Ven + +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/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_tag_menu/__init__.py b/account_tag_menu/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/account_tag_menu/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_tag_menu/__manifest__.py b/account_tag_menu/__manifest__.py new file mode 100644 index 000000000..6e0488868 --- /dev/null +++ b/account_tag_menu/__manifest__.py @@ -0,0 +1,17 @@ +# Copyright 2018 Forest and Biomass Romania +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Account Tag Menu', + 'version': '12.0.1.0.0', + 'category': 'Accounting', + 'license': 'AGPL-3', + 'summary': "Adds a menu entry for Account Tags", + 'author': "Forest and Biomass Romania, Odoo Community Association (OCA)", + 'website': 'https://github.com/OCA/account-financial-tools', + 'depends': ['account'], + 'data': ['views/account_tag.xml'], + 'demo': ['demo/account_tax_tags.xml', + 'demo/account_tax_data.xml'], + 'installable': True, +} diff --git a/account_tag_menu/demo/account_tax_data.xml b/account_tag_menu/demo/account_tax_data.xml new file mode 100644 index 000000000..c10ea7911 --- /dev/null +++ b/account_tag_menu/demo/account_tax_data.xml @@ -0,0 +1,88 @@ + + + + + VAT Colected + vatc + + + + VAT Colected Cash-Basis + vatccb + + + + + 11 + VAT Colected TAX 5% + VAT Colected TAX 5% + 5 + percent + sale + + + + + + 12 + VAT Colected TAX 9% + VAT Colected TAX 9% + 9 + percent + sale + + + + + + 13 + VAT Colected TAX 19% + VAT Colected TAX 19% + 19 + percent + sale + + + + + + + 21 + VAT Colected Cash-Basis TAX 5% + VAT Colected Cash-Basis TAX 5% + 5 + percent + sale + on_payment + + + + + + + 22 + VAT Colected Cash-Basis TAX 9% + VAT Colected Cash-Basis TAX 9% + 9 + percent + sale + on_payment + + + + + + + 23 + VAT Colected Cash-Basis TAX 19% + VAT Colected Cash-Basis TAX 19% + 19 + percent + sale + on_payment + + + + + + diff --git a/account_tag_menu/demo/account_tax_tags.xml b/account_tag_menu/demo/account_tax_tags.xml new file mode 100644 index 000000000..845970267 --- /dev/null +++ b/account_tag_menu/demo/account_tax_tags.xml @@ -0,0 +1,40 @@ + + + + VAT + taxes + + + VAT Colected + taxes + + + VAT Colected 5% + taxes + + + VAT Colected 9% + taxes + + + VAT Colected 19% + taxes + + + VAT Colected Cash-Basis + taxes + + + VAT Colected Cash-Basis 5% + taxes + + + VAT Colected Cash-Basis 9% + taxes + + + VAT Colected Cash-Basis 19% + taxes + + + diff --git a/account_tag_menu/i18n/account_tag_menu.pot b/account_tag_menu/i18n/account_tag_menu.pot new file mode 100644 index 000000000..56580f3f8 --- /dev/null +++ b/account_tag_menu/i18n/account_tag_menu.pot @@ -0,0 +1,45 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_tag_menu +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.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_tag_menu +#: model:ir.model,name:account_tag_menu.model_account_account_tag +msgid "Account Tag" +msgstr "" + +#. module: account_tag_menu +#: model:ir.ui.menu,name:account_tag_menu.account_tag_menu +msgid "Account Tags" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_account_ids +msgid "Accounts" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_account_ids +msgid "Assigned accounts for custom reporting" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_tax_ids +msgid "Assigned taxes for custom reporting" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_tax_ids +msgid "Taxes" +msgstr "" + diff --git a/account_tag_menu/i18n/ar.po b/account_tag_menu/i18n/ar.po new file mode 100644 index 000000000..4b1b9b9ad --- /dev/null +++ b/account_tag_menu/i18n/ar.po @@ -0,0 +1,48 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_tag_menu +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2018-06-30 06:01+0000\n" +"Last-Translator: Osoul \n" +"Language-Team: none\n" +"Language: ar\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " +"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n" +"X-Generator: Weblate 3.0.1\n" + +#. module: account_tag_menu +#: model:ir.model,name:account_tag_menu.model_account_account_tag +msgid "Account Tag" +msgstr "وسم الحساب" + +#. module: account_tag_menu +#: model:ir.ui.menu,name:account_tag_menu.account_tag_menu +msgid "Account Tags" +msgstr "وسوم الحسابات" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_account_ids +msgid "Accounts" +msgstr "الحسابات" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_account_ids +msgid "Assigned accounts for custom reporting" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_tax_ids +msgid "Assigned taxes for custom reporting" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_tax_ids +msgid "Taxes" +msgstr "الضرائب" diff --git a/account_tag_menu/i18n/de.po b/account_tag_menu/i18n/de.po new file mode 100644 index 000000000..ef749e8ba --- /dev/null +++ b/account_tag_menu/i18n/de.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_tag_menu +# +# Translators: +# OCA Transbot , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"PO-Revision-Date: 2018-03-30 02:39+0000\n" +"Last-Translator: OCA Transbot , 2018\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" + +#. module: account_tag_menu +#: model:ir.model,name:account_tag_menu.model_account_account_tag +msgid "Account Tag" +msgstr "" + +#. module: account_tag_menu +#: model:ir.ui.menu,name:account_tag_menu.account_tag_menu +msgid "Account Tags" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_account_ids +msgid "Accounts" +msgstr "Konten" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_account_ids +msgid "Assigned accounts for custom reporting" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_tax_ids +msgid "Assigned taxes for custom reporting" +msgstr "" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_tax_ids +msgid "Taxes" +msgstr "" diff --git a/account_tag_menu/i18n/fr.po b/account_tag_menu/i18n/fr.po new file mode 100644 index 000000000..b4fb45d4d --- /dev/null +++ b/account_tag_menu/i18n/fr.po @@ -0,0 +1,50 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_tag_menu +# +# Translators: +# OCA Transbot , 2018 +# Quentin THEURET , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-04-06 02:40+0000\n" +"PO-Revision-Date: 2018-04-06 02:40+0000\n" +"Last-Translator: Quentin THEURET , 2018\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: account_tag_menu +#: model:ir.model,name:account_tag_menu.model_account_account_tag +msgid "Account Tag" +msgstr "Étiquette de compte" + +#. module: account_tag_menu +#: model:ir.ui.menu,name:account_tag_menu.account_tag_menu +msgid "Account Tags" +msgstr "Étiquettes de compte" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_account_ids +msgid "Accounts" +msgstr "Comptes" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_account_ids +msgid "Assigned accounts for custom reporting" +msgstr "Comptes attribués pour un compte-rendu personnalisé" + +#. module: account_tag_menu +#: model:ir.model.fields,help:account_tag_menu.field_account_account_tag_tax_ids +msgid "Assigned taxes for custom reporting" +msgstr "Taxes attribuées pour un compte-rendu personnalisé" + +#. module: account_tag_menu +#: model:ir.model.fields,field_description:account_tag_menu.field_account_account_tag_tax_ids +msgid "Taxes" +msgstr "Taxes" diff --git a/account_tag_menu/models/__init__.py b/account_tag_menu/models/__init__.py new file mode 100644 index 000000000..b1a763604 --- /dev/null +++ b/account_tag_menu/models/__init__.py @@ -0,0 +1 @@ +from . import account_tag diff --git a/account_tag_menu/models/account_tag.py b/account_tag_menu/models/account_tag.py new file mode 100644 index 000000000..b341ebc70 --- /dev/null +++ b/account_tag_menu/models/account_tag.py @@ -0,0 +1,17 @@ +# Copyright 2018 FOREST AND BIOMASS ROMANIA SA +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import fields, models + + +class AccountAccountTag(models.Model): + _inherit = 'account.account.tag' + + account_ids = fields.Many2many( + 'account.account', 'account_account_account_tag', + string='Accounts', + help="Assigned accounts for custom reporting") + tax_ids = fields.Many2many( + 'account.tax', 'account_tax_account_tag', + string='Taxes', + help="Assigned taxes for custom reporting") diff --git a/account_tag_menu/readme/CONTRIBUTORS.rst b/account_tag_menu/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..6f08830c7 --- /dev/null +++ b/account_tag_menu/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Fekete Mihai +* Raf Ven diff --git a/account_tag_menu/readme/DESCRIPTION.rst b/account_tag_menu/readme/DESCRIPTION.rst new file mode 100644 index 000000000..024b28ec0 --- /dev/null +++ b/account_tag_menu/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module adds a menu entry **Account Tags** under *Invoicing > Configuration > Accounting*, +because this menu entry doesn't exists in the official *account* module of Odoo 12. diff --git a/account_tag_menu/static/description/icon.png b/account_tag_menu/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/account_tag_menu/static/description/icon.png differ diff --git a/account_tag_menu/static/description/index.html b/account_tag_menu/static/description/index.html new file mode 100644 index 000000000..a2aa31eca --- /dev/null +++ b/account_tag_menu/static/description/index.html @@ -0,0 +1,421 @@ + + + + + + +Account Tag Menu + + + +
+

Account Tag Menu

+ + +

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

+

This module adds a menu entry Account Tags under Invoicing > Configuration > Accounting, +because this menu entry doesn’t exists in the official account module of Odoo 12.

+

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

+
    +
  • Forest and Biomass Romania
  • +
+
+
+

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.

+

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_tag_menu/views/account_tag.xml b/account_tag_menu/views/account_tag.xml new file mode 100644 index 000000000..cb0f33361 --- /dev/null +++ b/account_tag_menu/views/account_tag.xml @@ -0,0 +1,36 @@ + + + + + tag_addd_accounts_taxes + account.account.tag + + + + + + + + + + + + + + + + + + +