summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-09-11 18:33:52 +0200
committerChristophe Simonis <chs@odoo.com>2015-09-11 18:36:10 +0200
commit25eb2c00a9192e2810b109c4dc9d66006db6fa97 (patch)
tree23374e19378a7bf1f335fc8f72bc4a069f3d2ebd
parent622eecec8f33151097a3adda609be3df22971885 (diff)
[FIX] account_cancel: correct view
View introduced during previous forward-port (88eaa7da) used a field that have been replaced in saas-6.
-rw-r--r--addons/account_cancel/account_cancel_view.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account_cancel/account_cancel_view.xml b/addons/account_cancel/account_cancel_view.xml
index dcbe95e0c34..18c107c47a8 100644
--- a/addons/account_cancel/account_cancel_view.xml
+++ b/addons/account_cancel/account_cancel_view.xml
@@ -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>