2
0
account-financial-tools/account_template_active/views/view_account_account_template.xml
Stefan Rijnhart 8c3323d3e5 [MIG] account_tax_template: Migration to 14.0
Co-Authored-By: Jean-Charles Drubay <jc@komit-consulting.com>
2023-01-19 17:03:41 +01:00

41 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2018 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
@author: Quentin DUPONT <quentin.dupont@grap.coop>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="view_account_account_template_tree" model="ir.ui.view">
<field name="model">account.account.template</field>
<field name="inherit_id" ref="account.view_account_template_tree" />
<field name="arch" type="xml">
<xpath expr="//tree" position="attributes">
<attribute name="decoration-muted">not active</attribute>
</xpath>
<field name="user_type_id" position="after">
<field name="active" />
</field>
</field>
</record>
<record id="view_account_template_form" model="ir.ui.view">
<field name="model">account.account.template</field>
<field name="inherit_id" ref="account.view_account_template_form" />
<field name="arch" type="xml">
<field name="chart_template_id" position="after">
<field name="active" />
</field>
</field>
</record>
<record
id="account_menu.account_account_template_action"
model="ir.actions.act_window"
>
<field name="context">{"active_test": False}</field>
</record>
</odoo>