[FIX] account_cancel: correct view

View introduced during previous forward-port (88eaa7da) used a field
that have been replaced in saas-6.
This commit is contained in:
Christophe Simonis
2015-09-11 18:36:10 +02:00
parent 622eecec8f
commit 25eb2c00a9
@@ -79,8 +79,8 @@
<attribute name="options">{'reload_on_button': true}</attribute>
</field>
<xpath expr="//field[@name='amount']" position="after">
<field name="journal_entry_id" invisible="1"/>
<button name="cancel" attrs="{'invisible': [('journal_entry_id', '=', False)]}" string="Cancel" type="object" icon="gtk-undo"/>
<field name="journal_entry_ids" invisible="1"/>
<button name="cancel" attrs="{'invisible': [('journal_entry_ids', '=', False)]}" string="Cancel" type="object" icon="gtk-undo"/>
</xpath>
</field>
</record>