Opening entries on foreign currency accounts are computing a wrong value
Bug #1257288 reported by
Matthieu Dietrich @ camptocamp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
If you create opening entries for a past fiscal year (FY2012) but have entries with a multicurrency account in FY2011, the opening entry for FY2013 will sum all move lines from 2012 for system currency (as wanted), and all move lines until 2013-01-01 for account currency (not wanted).
This means you get a much larger value in account currency than in system currency.
The issue is in the method data_save() in addons/
Related branches
lp://staging/~camptocamp/ocb-addons/opening_entry_foreign_currency_fix_mdh
- Holger Brunn (Therp): Approve
- Leonardo Pistone: Approve (code review)
-
Diff: 27 lines (+1/-9)1 file modifiedaccount/wizard/account_fiscalyear_close.py (+1/-9)
lp://staging/~camptocamp/openobject-addons/opening_entry_foreign_currency_fix_mdh
- Martin Trigaux (OpenERP) (community): Approve
- Leonardo Pistone (community): Approve (code review)
-
Diff: 27 lines (+1/-9)1 file modifiedaccount/wizard/account_fiscalyear_close.py (+1/-9)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
To post a comment you must log in.
Hello Matthieu,
Thanks for the report, this was indeed an issue.
I have merged this in 7.0
revno: 9756 [merge]
revision-id: <email address hidden>
Regards