mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[ADD] new module to display menus for all CoA templates
This commit is contained in:
committed by
OCA-git-bot
parent
059c943991
commit
5f79a12c9c
4
account_coa_menu/README.rst
Normal file
4
account_coa_menu/README.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
0
account_coa_menu/__init__.py
Normal file
0
account_coa_menu/__init__.py
Normal file
25
account_coa_menu/__manifest__.py
Normal file
25
account_coa_menu/__manifest__.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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 - Chart of Accounts Menus',
|
||||
'version': '12.0.1.0.0',
|
||||
'category': 'Accounting',
|
||||
'license': 'AGPL-3',
|
||||
'summary': "Adds menu entries for Chart of Accounts templates",
|
||||
'author': "GRAP, Odoo Community Association (OCA)",
|
||||
'website': 'https://github.com/OCA/account-financial-tools',
|
||||
'depends': [
|
||||
'account',
|
||||
],
|
||||
'data': [
|
||||
'views/menu.xml',
|
||||
'views/account_chart_template.xml',
|
||||
'views/account_account_template.xml',
|
||||
'views/account_tax_template.xml',
|
||||
'views/account_fiscal_position_template.xml',
|
||||
|
||||
],
|
||||
'installable': True,
|
||||
}
|
||||
42
account_coa_menu/i18n/fr.po
Normal file
42
account_coa_menu/i18n/fr.po
Normal file
@@ -0,0 +1,42 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * account_coa_menu
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-07-10 13:18+0000\n"
|
||||
"PO-Revision-Date: 2019-07-10 13:18+0000\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_coa_menu
|
||||
#: model:ir.ui.menu,name:account_coa_menu.menu_account_account_template
|
||||
msgid "Account Templates"
|
||||
msgstr "Modèles de comptes"
|
||||
|
||||
#. module: account_coa_menu
|
||||
#: model:ir.ui.menu,name:account_coa_menu.menu_account_coa_settings
|
||||
msgid "Chart of Accounts"
|
||||
msgstr "Plan comptable"
|
||||
|
||||
#. module: account_coa_menu
|
||||
#: model:ir.ui.menu,name:account_coa_menu.menu_account_chart_template
|
||||
msgid "Chart of Accounts Templates"
|
||||
msgstr "Modèles de plans comptables"
|
||||
|
||||
#. module: account_coa_menu
|
||||
#: model:ir.ui.menu,name:account_coa_menu.menu_account_fiscal_position_template
|
||||
msgid "Fiscal Position Templates"
|
||||
msgstr "Modèles de positions fiscales"
|
||||
|
||||
#. module: account_coa_menu
|
||||
#: model:ir.ui.menu,name:account_coa_menu.menu_account_tax_template
|
||||
msgid "Tax Templates"
|
||||
msgstr "Modèles de taxes"
|
||||
|
||||
1
account_coa_menu/readme/CONTRIBUTORS.rst
Normal file
1
account_coa_menu/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1 @@
|
||||
* Sylvain LE GAL <https://twitter.com/legalsylvain>
|
||||
8
account_coa_menu/readme/DESCRIPTION.rst
Normal file
8
account_coa_menu/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
This module adds menu entries **Chart of Accounts** and all it sub menus under *Invoicing > Configuration*,
|
||||
because this menu entry doesn't exists in the official *account* module of Odoo 12.
|
||||
|
||||
List of menus :
|
||||
- Chart of Accounts Templates (account.chart.template)
|
||||
- Account Templates (account.account.template)
|
||||
- Tax Templates (account.tax.template)
|
||||
- Fiscal Positions Templates (account.fiscal.position.template)
|
||||
BIN
account_coa_menu/static/description/icon.png
Normal file
BIN
account_coa_menu/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
14
account_coa_menu/views/account_account_template.xml
Normal file
14
account_coa_menu/views/account_account_template.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<menuitem id="menu_account_account_template"
|
||||
action="account.action_account_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="20"/>
|
||||
|
||||
</odoo>
|
||||
14
account_coa_menu/views/account_chart_template.xml
Normal file
14
account_coa_menu/views/account_chart_template.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<menuitem id="menu_account_chart_template"
|
||||
action="account.action_account_chart_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="10"/>
|
||||
|
||||
</odoo>
|
||||
19
account_coa_menu/views/account_fiscal_position_template.xml
Normal file
19
account_coa_menu/views/account_fiscal_position_template.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<!-- Renaming this action because this default name is not the correct one -->
|
||||
<record id="account.action_account_fiscal_position_template_form" model="ir.actions.act_window">
|
||||
<field name="name">Fiscal Position Templates</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_account_fiscal_position_template"
|
||||
action="account.action_account_fiscal_position_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="40"/>
|
||||
|
||||
</odoo>
|
||||
14
account_coa_menu/views/account_tax_template.xml
Normal file
14
account_coa_menu/views/account_tax_template.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<menuitem id="menu_account_tax_template"
|
||||
action="account.action_account_tax_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="30"/>
|
||||
|
||||
</odoo>
|
||||
14
account_coa_menu/views/menu.xml
Normal file
14
account_coa_menu/views/menu.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<menuitem id="menu_account_coa_settings"
|
||||
sequence="50"
|
||||
name="Chart of Accounts"
|
||||
parent="account.menu_finance_configuration"/>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user