Sale order line containing service duplicated on invoice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 3 |
Bug Description
Create a sale order with 2 lines:
- 1 product type stockable product (like PC1) with qty 2
- 1 service (like EMPL) with qty 3
Picking Policy : Partial Delivery
Shipping Policy : Invoice From The Picking
Invoice on : Shipped Quantities
On the delivery order, process one element of PC1. It will create a new delivery order in state done.
Process the last element of PC1 in the first delivery order. You have a second delivery order in state done
Select both delivery orders in view list and click create invoice in actions. Group the invoices (well, even if you don't, the problem will persists) and check the invoice:
You have 4 lines :
2 x 1 line with your stockable product with the right qty : 1
2 x 1 line with your service but both have a qty of 3
You pay your service twice.
This bug is also present in v6.1
Related branches
- Meera Trambadia (OpenERP) (community): Approve
- OpenERP Core Team: Pending requested
-
Diff: 19 lines (+2/-2)1 file modifiedsale/stock.py (+2/-2)
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Medium |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
tags: | added: needs-unittest |
Hello Antoine,
Its fixed in https:/ /code.launchpad .net/~openerp- dev/openobject- addons/ trunk-bug- 907211- hpa
Revision ID:<email address hidden>
Revision no: 6114
It will be merged soon with Addons.
Thanks,
Hemendra