Merge lp:~camptocamp/openobject-addons/7.0-fix-1281492-lep into lp:openobject-addons/7.0

Proposed by Leonardo Pistone
Status: Needs review
Proposed branch: lp:~camptocamp/openobject-addons/7.0-fix-1281492-lep
Merge into: lp:openobject-addons/7.0
Diff against target: 12 lines (+2/-0)
1 file modified
account/account_view.xml (+2/-0)
To merge this branch: bzr merge lp:~camptocamp/openobject-addons/7.0-fix-1281492-lep
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+206879@code.launchpad.net
To post a comment you must log in.

Unmerged revisions

9848. By Leonardo Pistone on 2014-02-18

[fix] add a hidden field because it is returned by an on changed -> that fixes yaml tests on the bank statement

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account_view.xml'
2--- account/account_view.xml 2014-02-05 13:20:57 +0000
3+++ account/account_view.xml 2014-02-18 10:13:36 +0000
4@@ -563,6 +563,8 @@
5 <h1><field name="name"/></h1>
6 <group>
7 <group>
8+ <!-- last_closing_balance must be here because it is returned by onchange_journal_id -->
9+ <field name="last_closing_balance" invisible="1"/>
10 <field name="journal_id" domain="[('type', '=', 'bank')]" on_change="onchange_journal_id(journal_id)" widget="selection"/>
11 <label for="date" string="Date / Period"/>
12 <div>