residual amount error with different currency in invoice
Bug #427869 reported by
Alberto Garcia (Factor Libre)
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
Vinay Rana (OpenERP) |
Bug Description
There a re a problem with pay invoice and residual amount when you sale with different currency.
Base currency: EUR
You create a sale and the an invoice. You use a pricelist in USD.
For example:
A product with price 20.35 €, in invoice you have the price 28,05 USD
You pay invoice from invoice.
You put 28,05 $ and fill he rest of fields.
Then you fill the write-off dialogue and full payment.
After that you have a difference of 7.70 on residual amount that you can't solve.
why?
Related branches
lp:~openerp-commiter/openobject-addons/5.0-finance_fixes
- Husen Daudi (community): Approve
- Odoo Drivers: Pending requested
- OpenERP Core Team: Pending requested
- DragoDen: Pending requested
-
Diff: 437 lines8 files modifiedaccount/account.py (+1/-1)
account/account_bank_statement.py (+11/-3)
account/account_move_line.py (+8/-7)
account/account_view.xml (+3/-0)
account/invoice.py (+43/-11)
account/wizard/wizard_pay_invoice.py (+42/-13)
account/wizard/wizard_reconcile.py (+22/-9)
account_payment/wizard/wizard_payment_order.py (+1/-0)
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | nobody → vra (openerp) (vra-openerp) |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 5.0.7 |
Changed in openobject-addons: | |
status: | Fix Released → Incomplete |
Changed in openobject-addons: | |
status: | Incomplete → Fix Released |
Changed in openobject-addons: | |
status: | Fix Released → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Hello,
problem is in the method `def _amount_residual` its not take care for the currency used in the transection (move.lines)