multi-currency compute function not correct by date
Bug #1102592 reported by
Kevin McMenamin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
I was looking at this function while trying to work out some multi-currency calculations, and it became apparent that the conversion rates used are based on the current date not the transaction date.
For example, when converting USD to NZD my rates table has:
01/12/2012 0.80
01/01/2013 0.82
For a December invoice I would expect the rate of conversion to be 0.80, but instead is using 0.82.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-1102592-nco
Ready for review
for merging
into
lp:openobject-addons
- OpenERP Core Team: Pending requested
-
Diff: 90 lines (+16/-8)2 files modifiedaccount/account_invoice.py (+12/-4)
account/account_invoice_view.xml (+4/-4)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hello,
It has been fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 1102592- nco branch.
Thanks.