Wrong refund of invoice with 5x payment term

Bug #1241068 reported by Christophe Combelles
18
This bug affects 3 people
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

Revision history for this message
Christophe Combelles (ccomb) wrote :
Revision history for this message
Amit Parik (amit-parik) wrote :

Faced same things reconciliation not correct and seen 400 as a write off entry!

Thank you!

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Amit Dodiya (OpenERP) (ado-openerp) wrote :

Hello,

This issue is fixed with following branch:
branch: lp:~openerp-dev/openobject-addons/7.0-opw-599496-ado
revision-id: <email address hidden>

Soon our experts will review and merge it with stable addons.

Regards,
Amit Dodiya

Revision history for this message
Christophe Combelles (ccomb) wrote :

I've tested it quickly and it seems ok, thanks !

Changed in openobject-addons:
status: Confirmed → In Progress
status: In Progress → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Chirag Dodiya(OpenERP) (chirag.dodiya-openerp) wrote :

Hello,

It has been Fixed in this branch: https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1241068-cod

revision-id: <email address hidden>

revno: 9024.

It will be available in trunk soon.

Changed in openobject-addons:
status: In Progress → Fix Committed
no longer affects: ocb-addons/7.0
no longer affects: ocb-addons
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.