mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[MIG] account_menu from v13 to v14
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
|
||||
{
|
||||
"name": "Account - Missing Menus",
|
||||
"version": "13.0.1.0.0",
|
||||
"version": "14.0.1.0.0",
|
||||
"category": "Accounting",
|
||||
"license": "AGPL-3",
|
||||
"summary": "Adds missing menu entries for Account module",
|
||||
"author": "GRAP, Odoo Community Association (OCA)",
|
||||
"author": "GRAP, Akretion, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/account-financial-tools",
|
||||
"depends": ["account"],
|
||||
"data": [
|
||||
|
||||
@@ -11,5 +11,4 @@ class AccountGroup(models.Model):
|
||||
comodel_name="account.account",
|
||||
inverse_name="group_id",
|
||||
string="Accounts",
|
||||
help="Assigned accounts.",
|
||||
)
|
||||
|
||||
@@ -11,11 +11,4 @@ class AccountAccountTag(models.Model):
|
||||
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",
|
||||
)
|
||||
|
||||
@@ -11,5 +11,4 @@ class AccountTaxGroup(models.Model):
|
||||
comodel_name="account.tax",
|
||||
inverse_name="tax_group_id",
|
||||
string="Taxes",
|
||||
help="Assigned taxes.",
|
||||
)
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
* Sylvain LE GAL <https://twitter.com/legalsylvain>
|
||||
* Raf Ven <raf.ven@dynapps.be>
|
||||
* Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
This module adds all missing menu entries for **Account** module.
|
||||
This module adds all missing menu entries for the **Account** module.
|
||||
|
||||
* Chart of Account Templates
|
||||
* Account Types
|
||||
* Account Tags
|
||||
* Account Group
|
||||
* Account Groups
|
||||
* Account Tax Groups
|
||||
* Bank Statements
|
||||
* Cash Registers
|
||||
* Chart of Account Templates
|
||||
* Account Templates
|
||||
* Tax Templates
|
||||
* Fiscal Position Templates
|
||||
|
||||
@@ -13,8 +13,9 @@ License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_account_coa_settings"
|
||||
sequence="50"
|
||||
sequence="200"
|
||||
name="Templates"
|
||||
parent="account.menu_finance_configuration"
|
||||
groups="base.group_no_one"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -5,9 +5,16 @@ Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
-->
|
||||
<odoo>
|
||||
|
||||
<record id="account_account_template_action" model="ir.actions.act_window">
|
||||
<field name="name">Account Templates</field>
|
||||
<field name="res_model">account.account.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_account_account_template"
|
||||
action="account.action_account_template_form"
|
||||
action="account_account_template_action"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="20"
|
||||
/>
|
||||
|
||||
@@ -5,16 +5,15 @@ Copyright (C) 2019 - Today: GRAP (http://www.grap.coop)
|
||||
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 id="account_fiscal_position_template_action" model="ir.actions.act_window">
|
||||
<field name="name">Fiscal Position Templates</field>
|
||||
<field name="res_model">account.fiscal.position.template</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_account_fiscal_position_template"
|
||||
action="account.action_account_fiscal_position_template_form"
|
||||
action="account_fiscal_position_template_action"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="40"
|
||||
/>
|
||||
|
||||
@@ -20,9 +20,16 @@
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="account_group_action" model="ir.actions.act_window">
|
||||
<field name="name">Account Groups</field>
|
||||
<field name="res_model">account.group</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="account_group_menu"
|
||||
action="account.action_account_group_tree"
|
||||
action="account_group_action"
|
||||
sequence="50"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group" position="after">
|
||||
<group>
|
||||
<group id="aplicability">
|
||||
<group id="applicability">
|
||||
<field name="applicability" widget="selection" />
|
||||
</group>
|
||||
</group>
|
||||
@@ -24,25 +24,21 @@
|
||||
attrs="{'invisible':[('applicability','!=', 'accounts')]}"
|
||||
options="{'no_create_edit': True}"
|
||||
/>
|
||||
<label
|
||||
for="tax_ids"
|
||||
attrs="{'invisible':[('applicability','!=', 'taxes')]}"
|
||||
/>
|
||||
<field
|
||||
name="tax_ids"
|
||||
widget="many2many_tags"
|
||||
nolabel="1"
|
||||
attrs="{'invisible':[('applicability','!=', 'taxes')]}"
|
||||
options="{'no_create_edit': True}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="account_account_tag_action" model="ir.actions.act_window">
|
||||
<field name="name">Account Tags</field>
|
||||
<field name="res_model">account.account.tag</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="account_tag_menu"
|
||||
action="account.account_tag_action"
|
||||
action="account_account_tag_action"
|
||||
sequence="40"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
|
||||
@@ -54,15 +54,14 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="action_account_tax_group_tree" model="ir.actions.act_window">
|
||||
<record id="action_account_tax_group" model="ir.actions.act_window">
|
||||
<field name="name">Account Tax Groups</field>
|
||||
<field name="res_model">account.tax.group</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="search_view_id" ref="view_account_tax_group_search" />
|
||||
</record>
|
||||
<menuitem
|
||||
id="account_tax_group_menu"
|
||||
action="action_account_tax_group_tree"
|
||||
action="action_account_tax_group"
|
||||
sequence="51"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user