mirror of
https://gitlab.com/flectra-community/account-closing.git
synced 2024-11-24 22:52:03 +00:00
31 lines
1.2 KiB
XML
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>
|