account-closing/account_multicurrency_revaluation/views/account_move_views.xml
2022-06-29 20:32:15 +02:00

31 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<flectra>
<data>
<record id="view_move_form" model="ir.ui.view">
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_move_form" />
<field name="arch" type="xml">
<group name="misc_group">
<field
name="revaluation_to_reverse"
attrs="{'readonly':[('reversed_entry_id', '!=', False)]}"
/>
</group>
</field>
</record>
<record id="view_account_move_filter" model="ir.ui.view">
<field name="model">account.move</field>
<field name="inherit_id" ref="account.view_account_move_filter" />
<field name="arch" type="xml">
<filter name="posted" position="after">
<filter
string="Revaluation to reverse"
name="revaluation_to_reverse"
domain="[('revaluation_to_reverse', '=', True)]"
/>
</filter>
</field>
</record>
</data>
</flectra>