account-closing/account_cutoff_accrual_base/views/account_view.xml
2021-03-23 20:28:14 +01:00

25 lines
947 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __flectra__.py
-->
<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="children_tax_ids" position="before">
<group string="Accruals" name="accrual">
<field name="account_accrued_revenue_id" attrs="{'invisible': [('type_tax_use', '=', 'purchase')]}"/>
<field name="account_accrued_expense_id" attrs="{'invisible': [('type_tax_use', '=', 'sale')]}"/>
</group>
</field>
</field>
</record>
</flectra>