Wrong refund of invoice with 5x payment term
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Medium
|
OpenERP R&D Addons Team 3 | ||
7.0 |
Fix Released
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
- create a fresh database with the accountant module, the generic account chart and demo data
- create a payment term named (5x payment) with
- 60% immediately
- 10% after 30 days
- 10% after 60 days
- 10% after 90 days
- 10% after 120 days
- create a customer invoice to Agrolait with 1 line of 1000€ using this payment term
- validate this invoice
- click on Refund invoice
- In the refund wizard, select: Cancel: create refund and reconcile.
- validate the wizard.
=> Result :
The invoice is not considered paid :
Subtotal 1000.00 €
Tax 150.00 €
Total 1150.00 €
Balance 460.00 €
Two account moves are created, one of them being a write-off.
The created account move lines are in the attached ods file, the writeof is inconsistent and the reconciliation is wrong.
Related branches
- Naresh(OpenERP): Pending requested
-
Diff: 16 lines (+3/-1)1 file modifiedaccount/wizard/account_invoice_refund.py (+3/-1)
- OpenERP Core Team: Pending requested
-
Diff: 16 lines (+3/-1)1 file modifiedaccount/wizard/account_invoice_refund.py (+3/-1)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
status: | In Progress → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
no longer affects: | ocb-addons/7.0 |
no longer affects: | ocb-addons |
Faced same things reconciliation not correct and seen 400 as a write off entry!
Thank you!