Payments in secondary currency not handled correctly
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 |
Please, see now on this bur report for that bug: https:/ /bugs.launchpad .net/openobject -addons/ +bug/427869