account: cash statement: onchange_journal_id changes the field last_closing_balance which is not in the bank statement view -> breaks YAML tests

Bug #1281492 reported by Leonardo Pistone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
New
Undecided
Unassigned
OpenERP Community Backports (Addons)
Fix Released
Undecided
Unassigned

Bug Description

observed in latest v7

In that on_change:

http://bazaar.launchpad.net/~openerp/openobject-addons/7.0/view/head:/account/account_cash_statement.py#L167

the field last_closing_balance is set. However, the view of the account.bank.statement (which is the same object indeed) does not have the field.

This breaks YAML tests, should someone dare to write one on the bank statement.

I suppose having that field invisible="1" in the bank statement view account.view_bank_statement_form would fix that.

Thanks!

Related branches

Changed in ocb-addons:
status: New → Fix Committed
Changed in ocb-addons:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.