account-closing/account_cutoff_base/views/account_tax.xml
2024-05-03 10:29:54 +02:00

28 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2013-2021 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
-->
<flectra>
<record id="view_tax_form" model="ir.ui.view">
<field name="name">account.cutoff.accrual.view_tax_form</field>
<field name="model">account.tax</field>
<field name="inherit_id" ref="account.view_tax_form" />
<field name="arch" type="xml">
<field name="tax_group_id" position="after">
<field
name="account_accrued_revenue_id"
invisible="type_tax_use == 'purchase'"
options="{'no_create': True}"
/>
<field
name="account_accrued_expense_id"
invisible="type_tax_use == 'sale'"
options="{'no_create': True}"
/>
</field>
</field>
</record>
</flectra>