[IMP][account_move_batch_validate] improve display for action and asynchronous

This commit is contained in:
Adrien Peiffer (ACSONE)
2015-06-30 11:24:03 +02:00
committed by Artem Kostyuk
parent cee4ec297d
commit daed5e1660

View File

@@ -7,11 +7,9 @@
<field name="model">validate.account.move</field>
<field name="inherit_id" ref="account.validate_account_move_view" />
<field name="arch" type="xml">
<xpath expr="//group" position="before">
<group>
<field name="asynchronous" />
<field name="action" attrs="{'invisible': [('asynchronous', '=', False)]}"/>
</group>
<xpath expr="//field[@name='journal_ids']" position="before">
<field name="asynchronous" />
<field name="action" attrs="{'invisible': [('asynchronous', '=', False)]}"/>
</xpath>
</field>
</record>