Payments in secondary currency not handled correctly

Bug #429167 reported by rohan.barnett
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Confirmed
Undecided
Unassigned

Bug Description

v.5.0.3

When invoice payments are made in a secondary currency, Open ERP converts the amount of the payment to the primary currency and then INCORRECTLY subtracts this converted amount from the invoice balance to determine how much is owed on the invoice, even though the invoice is also in the secondary currency, NOT in the primary currency.

It seems that in the accounts everything is handled correctly, so the problem seems to be confined to the calculation of how much is owed on an invoice.

Example:
Base currency: MXP
Secondary currency: USD (exchange rate 0.10)

Create an invoice in USD: Sales Journal in USD. Invoice Account in USD. Sales line account in USD. $50 USD

Pay Invoice: Payment Journal in USD for an account in USD. $50 USD

System shows that the amount paid is $500 MXP (correct) but calculates that the amount owed on the invoice is -$450 (incorrect)

Changed in openobject-addons:
status: New → Confirmed
Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

Please, see now on this bur report for that bug: https://bugs.launchpad.net/openobject-addons/+bug/427869

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.