diff --git a/account_menu/README.rst b/account_menu/README.rst new file mode 100644 index 000000000..0bfb400cf --- /dev/null +++ b/account_menu/README.rst @@ -0,0 +1,90 @@ +======================= +Account - Missing Menus +======================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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/13.0/account_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-13-0/account-financial-tools-13-0-account_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/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +This module adds all missing menu entries for **Account** module. + +* Chart of Account Templates +* Account Types +* Account Tags +* Account Group +* Bank Statements + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +To see all the menus, make sure: + +* Your user is member of the group + "Technical Settings / Show Full Accounting Features" + +* The page is running in debug mode + +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 +~~~~~~~ + +* GRAP + +Contributors +~~~~~~~~~~~~ + +* Sylvain LE GAL +* 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_menu/__init__.py b/account_menu/__init__.py new file mode 100644 index 000000000..0650744f6 --- /dev/null +++ b/account_menu/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_menu/__manifest__.py b/account_menu/__manifest__.py new file mode 100644 index 000000000..98cdd53f3 --- /dev/null +++ b/account_menu/__manifest__.py @@ -0,0 +1,28 @@ +# Copyright (C) 2019 - Today: GRAP (http://www.grap.coop) +# @author: Sylvain LE GAL (https://twitter.com/legalsylvain) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Account - Missing Menus", + "version": "13.0.1.0.0", + "category": "Accounting", + "license": "AGPL-3", + "summary": "Adds missing menu entries for Account module", + "author": "GRAP, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/account-financial-tools", + "depends": ["account"], + "data": [ + "views/menu.xml", + "views/view_account_account_template.xml", + "views/view_account_bank_statement.xml", + "views/view_account_chart_template.xml", + "views/view_account_fiscal_position_template.xml", + "views/view_account_group.xml", + "views/view_account_tag.xml", + "views/view_account_tax_group.xml", + "views/view_account_tax_template.xml", + "views/view_account_type.xml", + ], + "demo": ["demo/res_groups.xml"], + "installable": True, +} diff --git a/account_menu/demo/res_groups.xml b/account_menu/demo/res_groups.xml new file mode 100644 index 000000000..0b6b4b2f5 --- /dev/null +++ b/account_menu/demo/res_groups.xml @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/account_menu/i18n/account_menu.pot b/account_menu/i18n/account_menu.pot new file mode 100644 index 000000000..36893b010 --- /dev/null +++ b/account_menu/i18n/account_menu.pot @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_menu +# +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_menu +#: model:ir.ui.menu,name:account_menu.menu_accounting_statement_bank +msgid "Bank Statements" +msgstr "" + +#. module: account_menu +#: model:ir.ui.menu,name:account_menu.menu_accounting_bank_and_cash +msgid "Bank and Cash" +msgstr "" + +#. module: account_menu +#: model:ir.ui.menu,name:account_menu.menu_accounting_statement_cash +msgid "Cash Registers" +msgstr "" + diff --git a/account_menu/models/__init__.py b/account_menu/models/__init__.py new file mode 100644 index 000000000..a154948be --- /dev/null +++ b/account_menu/models/__init__.py @@ -0,0 +1,3 @@ +from . import account_group +from . import account_tag +from . import account_tax_group diff --git a/account_menu/models/account_group.py b/account_menu/models/account_group.py new file mode 100644 index 000000000..3d8bf3462 --- /dev/null +++ b/account_menu/models/account_group.py @@ -0,0 +1,15 @@ +# 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 AccountGroup(models.Model): + _inherit = "account.group" + + account_ids = fields.One2many( + comodel_name="account.account", + inverse_name="group_id", + string="Accounts", + help="Assigned accounts.", + ) diff --git a/account_menu/models/account_tag.py b/account_menu/models/account_tag.py new file mode 100644 index 000000000..2d5032aab --- /dev/null +++ b/account_menu/models/account_tag.py @@ -0,0 +1,21 @@ +# 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( + comodel_name="account.account", + relation="account_account_account_tag", + string="Accounts", + help="Assigned accounts for custom reporting", + ) + tax_ids = fields.Many2many( + comodel_name="account.tax", + relation="account_tax_account_tag", + string="Taxes", + help="Assigned taxes for custom reporting", + ) diff --git a/account_menu/models/account_tax_group.py b/account_menu/models/account_tax_group.py new file mode 100644 index 000000000..3313e3af8 --- /dev/null +++ b/account_menu/models/account_tax_group.py @@ -0,0 +1,15 @@ +# 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 AccountTaxGroup(models.Model): + _inherit = "account.tax.group" + + tax_ids = fields.One2many( + comodel_name="account.tax", + inverse_name="tax_group_id", + string="Taxes", + help="Assigned taxes.", + ) diff --git a/account_menu/readme/CONFIGURE.rst b/account_menu/readme/CONFIGURE.rst new file mode 100644 index 000000000..80e31fb1f --- /dev/null +++ b/account_menu/readme/CONFIGURE.rst @@ -0,0 +1,6 @@ +To see all the menus, make sure: + +* Your user is member of the group + "Technical Settings / Show Full Accounting Features" + +* The page is running in debug mode diff --git a/account_menu/readme/CONTRIBUTORS.rst b/account_menu/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..9d38778af --- /dev/null +++ b/account_menu/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Sylvain LE GAL +* Raf Ven diff --git a/account_menu/readme/DESCRIPTION.rst b/account_menu/readme/DESCRIPTION.rst new file mode 100644 index 000000000..3f1beb67e --- /dev/null +++ b/account_menu/readme/DESCRIPTION.rst @@ -0,0 +1,7 @@ +This module adds all missing menu entries for **Account** module. + +* Chart of Account Templates +* Account Types +* Account Tags +* Account Group +* Bank Statements diff --git a/account_menu/static/description/icon.png b/account_menu/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/account_menu/static/description/icon.png differ diff --git a/account_menu/static/description/index.html b/account_menu/static/description/index.html new file mode 100644 index 000000000..dd6b906f9 --- /dev/null +++ b/account_menu/static/description/index.html @@ -0,0 +1,437 @@ + + + + + + +Account - Missing Menus + + + +
+

Account - Missing Menus

+ + +

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

+

This module adds all missing menu entries for Account module.

+
    +
  • Chart of Account Templates
  • +
  • Account Types
  • +
  • Account Tags
  • +
  • Account Group
  • +
  • Bank Statements
  • +
+

Table of contents

+ +
+

Configuration

+

To see all the menus, make sure:

+
    +
  • Your user is member of the group +“Technical Settings / Show Full Accounting Features”
  • +
  • The page is running in debug mode
  • +
+
+
+

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

+
    +
  • GRAP
  • +
+
+ +
+

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_menu/views/menu.xml b/account_menu/views/menu.xml new file mode 100644 index 000000000..df1da06dc --- /dev/null +++ b/account_menu/views/menu.xml @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/account_menu/views/view_account_account_template.xml b/account_menu/views/view_account_account_template.xml new file mode 100644 index 000000000..3ee4d9e90 --- /dev/null +++ b/account_menu/views/view_account_account_template.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/account_menu/views/view_account_bank_statement.xml b/account_menu/views/view_account_bank_statement.xml new file mode 100644 index 000000000..3f05349c6 --- /dev/null +++ b/account_menu/views/view_account_bank_statement.xml @@ -0,0 +1,19 @@ + + + + + + + + + diff --git a/account_menu/views/view_account_chart_template.xml b/account_menu/views/view_account_chart_template.xml new file mode 100644 index 000000000..8f582c0f3 --- /dev/null +++ b/account_menu/views/view_account_chart_template.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/account_menu/views/view_account_fiscal_position_template.xml b/account_menu/views/view_account_fiscal_position_template.xml new file mode 100644 index 000000000..906a7f3b4 --- /dev/null +++ b/account_menu/views/view_account_fiscal_position_template.xml @@ -0,0 +1,19 @@ + + + + + + + Fiscal Position Templates + + + + + diff --git a/account_menu/views/view_account_group.xml b/account_menu/views/view_account_group.xml new file mode 100644 index 000000000..17ea2a13c --- /dev/null +++ b/account_menu/views/view_account_group.xml @@ -0,0 +1,26 @@ + + + + + account.group.form + account.group + + + + + + + + + + + + + + diff --git a/account_menu/views/view_account_tag.xml b/account_menu/views/view_account_tag.xml new file mode 100644 index 000000000..f86540449 --- /dev/null +++ b/account_menu/views/view_account_tag.xml @@ -0,0 +1,38 @@ + + + + + tag_addd_accounts_taxes + account.account.tag + + + + + + + + + + + + + + + + + + + diff --git a/account_menu/views/view_account_tax_group.xml b/account_menu/views/view_account_tax_group.xml new file mode 100644 index 000000000..c8c514687 --- /dev/null +++ b/account_menu/views/view_account_tax_group.xml @@ -0,0 +1,66 @@ + + + + + account.tax.group.form + account.tax.group + +
+ + + + + + + + + + + + + + +
+
+
+ + + account.tax.group.search + account.tax.group + + + + + + + + + account.tax.group.tree + account.tax.group + + + + + + + + + + Account Tax Groups + account.tax.group + tree,form + + + + + +
diff --git a/account_menu/views/view_account_tax_template.xml b/account_menu/views/view_account_tax_template.xml new file mode 100644 index 000000000..0915b8b62 --- /dev/null +++ b/account_menu/views/view_account_tax_template.xml @@ -0,0 +1,14 @@ + + + + + + + diff --git a/account_menu/views/view_account_type.xml b/account_menu/views/view_account_type.xml new file mode 100644 index 000000000..7dbca9122 --- /dev/null +++ b/account_menu/views/view_account_type.xml @@ -0,0 +1,9 @@ + + + + + +