multi-currency compute function not correct by date

Bug #1102592 reported by Kevin McMenamin
8
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

Amit Parik (amit-parik)
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
Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :
Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
xavi (xgilest) wrote :

We have found that the payments have the same problem, when a payment is made the line calculations use the voucher date instead of the line date, which is a mistake as you are changing the original amount, the unreconciled amount, etc.

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.