mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
pre-commit update
This commit is contained in:
committed by
GuillemCForgeFlow
parent
4ce9209bfa
commit
6f37a33cc1
@@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?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>
|
||||
|
||||
<record id="account.group_account_user" model="res.groups">
|
||||
<field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/>
|
||||
<field
|
||||
name="users"
|
||||
eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"
|
||||
/>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?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_accounting_bank_and_cash"
|
||||
name="Bank and Cash"
|
||||
parent="account.menu_finance_entries"
|
||||
sequence="15"/>
|
||||
|
||||
<menuitem id="menu_account_coa_settings"
|
||||
sequence="50"
|
||||
name="Templates"
|
||||
parent="account.menu_finance_configuration"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_accounting_bank_and_cash"
|
||||
name="Bank and Cash"
|
||||
parent="account.menu_finance_entries"
|
||||
sequence="15"
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_account_coa_settings"
|
||||
sequence="50"
|
||||
name="Templates"
|
||||
parent="account.menu_finance_configuration"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?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"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_account_account_template"
|
||||
action="account.action_account_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="20"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?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_accounting_statement_bank"
|
||||
action="account.action_bank_statement_tree"
|
||||
parent="menu_accounting_bank_and_cash"
|
||||
sequence="10"/>
|
||||
|
||||
<menuitem id="menu_accounting_statement_cash"
|
||||
action="account.action_view_bank_statement_tree"
|
||||
parent="menu_accounting_bank_and_cash"
|
||||
sequence="20"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_accounting_statement_bank"
|
||||
action="account.action_bank_statement_tree"
|
||||
parent="menu_accounting_bank_and_cash"
|
||||
sequence="10"
|
||||
/>
|
||||
<menuitem
|
||||
id="menu_accounting_statement_cash"
|
||||
action="account.action_view_bank_statement_tree"
|
||||
parent="menu_accounting_bank_and_cash"
|
||||
sequence="20"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?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"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_account_chart_template"
|
||||
action="account.action_account_chart_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="10"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,19 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?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">
|
||||
<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"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_account_fiscal_position_template"
|
||||
action="account.action_account_fiscal_position_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="40"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,26 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_group_form" model="ir.ui.view">
|
||||
<field name="name">account.group.form</field>
|
||||
<field name="model">account.group</field>
|
||||
<field name="inherit_id" ref="account.view_account_group_form"/>
|
||||
<field name="inherit_id" ref="account.view_account_group_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group" position="after">
|
||||
<group>
|
||||
<group id="links">
|
||||
<label for="account_ids"/>
|
||||
<field name="account_ids" widget="many2many" nolabel="1"
|
||||
options="{'no_create_edit': True}"/>
|
||||
<label for="account_ids" />
|
||||
<field
|
||||
name="account_ids"
|
||||
widget="many2many"
|
||||
nolabel="1"
|
||||
options="{'no_create_edit': True}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<menuitem id="account_group_menu"
|
||||
action="account.action_account_group_tree"
|
||||
sequence="50"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
<menuitem
|
||||
id="account_group_menu"
|
||||
action="account.action_account_group_tree"
|
||||
sequence="50"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,38 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="account_tag_view_form" model="ir.ui.view">
|
||||
<field name="name">tag_addd_accounts_taxes</field>
|
||||
<field name="model">account.account.tag</field>
|
||||
<field name="inherit_id" ref="account.account_tag_view_form"/>
|
||||
<field name="inherit_id" ref="account.account_tag_view_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group" position="after">
|
||||
<group>
|
||||
<group id="aplicability">
|
||||
<field name="applicability" widget="selection"/>
|
||||
<field name="applicability" widget="selection" />
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group id="links">
|
||||
<label for="account_ids"
|
||||
attrs="{'invisible':[('applicability','!=', 'accounts')]}"/>
|
||||
<field name="account_ids" widget="many2many_tags" nolabel="1"
|
||||
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}"/>
|
||||
<label
|
||||
for="account_ids"
|
||||
attrs="{'invisible':[('applicability','!=', 'accounts')]}"
|
||||
/>
|
||||
<field
|
||||
name="account_ids"
|
||||
widget="many2many_tags"
|
||||
nolabel="1"
|
||||
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>
|
||||
|
||||
<menuitem id="account_tag_menu"
|
||||
action="account.account_tag_action"
|
||||
sequence="40"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
<menuitem
|
||||
id="account_tag_menu"
|
||||
action="account.account_tag_action"
|
||||
sequence="40"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<record id="view_account_tax_group_form" model="ir.ui.view">
|
||||
<field name="name">account.tax.group.form</field>
|
||||
<field name="model">account.tax.group</field>
|
||||
@@ -8,59 +7,63 @@
|
||||
<form string="Account Tax Group">
|
||||
<group>
|
||||
<group id="name">
|
||||
<field name="name"/>
|
||||
<field name="name" />
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group id="sequence">
|
||||
<field name="sequence"/>
|
||||
<field name="sequence" />
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<group id="links">
|
||||
<label for="tax_ids"/>
|
||||
<field name="tax_ids" widget="one2many_list" colspan="4" nolabel="1"
|
||||
mode="tree"
|
||||
options="{'no_create_edit': True}"/>
|
||||
<label for="tax_ids" />
|
||||
<field
|
||||
name="tax_ids"
|
||||
widget="one2many_list"
|
||||
colspan="4"
|
||||
nolabel="1"
|
||||
mode="tree"
|
||||
options="{'no_create_edit': True}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_tax_group_search" model="ir.ui.view">
|
||||
<field name="name">account.tax.group.search</field>
|
||||
<field name="model">account.tax.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<search string="Account Tax Groups">
|
||||
<field name="name"
|
||||
filter_domain="['|', ('sequence', '=like', str(self) + '%'), ('name', 'ilike', self)]"
|
||||
string="Account Tax Group"/>
|
||||
<field
|
||||
name="name"
|
||||
filter_domain="['|', ('sequence', '=like', str(self) + '%'), ('name', 'ilike', self)]"
|
||||
string="Account Tax Group"
|
||||
/>
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_account_tax_group_tree" model="ir.ui.view">
|
||||
<field name="name">account.tax.group.tree</field>
|
||||
<field name="model">account.tax.group</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree name="account_tax_group">
|
||||
<field name="sequence"/>
|
||||
<field name="name"/>
|
||||
<field name="sequence" />
|
||||
<field name="name" />
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_account_tax_group_tree" 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"/>
|
||||
<field name="search_view_id" ref="view_account_tax_group_search" />
|
||||
</record>
|
||||
|
||||
<menuitem id="account_tax_group_menu"
|
||||
action="action_account_tax_group_tree"
|
||||
sequence="51"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
<menuitem
|
||||
id="account_tax_group_menu"
|
||||
action="action_account_tax_group_tree"
|
||||
sequence="51"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?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"/>
|
||||
|
||||
<menuitem
|
||||
id="menu_account_tax_template"
|
||||
action="account.action_account_tax_template_form"
|
||||
parent="menu_account_coa_settings"
|
||||
sequence="30"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
|
||||
<menuitem id="account_type_menu"
|
||||
action="account.action_account_type_form"
|
||||
sequence="30"
|
||||
parent="account.account_account_menu"/>
|
||||
|
||||
<menuitem
|
||||
id="account_type_menu"
|
||||
action="account.action_account_type_form"
|
||||
sequence="30"
|
||||
parent="account.account_account_menu"
|
||||
/>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user