*** This bug is a duplicate of bug 666154 ***
https://bugs.launchpad.net/bugs/666154
I correct, its bug 666154.
--
[account] Regression: invoice residual amount not computed if payments are in
domestic currency (5.0)
https://bugs.launchpad.net/bugs/641314
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Confirmed
Bug description:
Hi!
Try to reconcile an invoice which is in the company's currency and the payment
is also in the company's currency. The invoice will be done but the residual
amount won't change.
This is a regression of [email protected]
that is a fix of bug #511104.
Because the bank statement creates accounting entries in domestic currency with
amount_currency=False
in account_bank_statement.button_confirm():
amount_currency = False
currency_id = False
if st.currency.id <> company_currency_id:
amount_currency = move.amount
but in invoice._amount_residual():
credit += lines.credit > 0 and abs(lines.amount_currency)
or 0.00
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp