forked from OCA/account-closing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
account_view.xml
28 lines (23 loc) · 904 Bytes
/
account_view.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?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 __openerp__.py
-->
<openerp>
<data>
<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">
<group string="Refunds" position="after">
<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>
</group>
</field>
</record>
</data>
</openerp>