regression with delivery including service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
High
|
Unassigned |
Bug Description
Hello, using last 5.0 branch revisions:
server #1892
addons: #2472
with fresh manufacturing + demo data profile.
There are actually two regressions linked together. Regression 1 only occurs with the delivery module I think while regression 2 occurs with any order containing both physical products and service.
Make a new sale order with one order line: ex 1 ATX product.
Add delivery cost line using the "add delivery cost" wizard button on the right.
Set the order as "Invoice from picking" on the "other data" tab
Now validate the order.
Validate the newly created expedition picking.
Now, from that picking, create an invoice.
Now open the newly created invoice.
REGRESSION 1:
The invoice now contains 2 delivery costs lines instead of just 1!!!
Actually, now it seems that as soon as the order has a "delivery method" set, then a delivery cost line will be added to the invoice while the order doesn't have it (so there is now a mismacth between the order and the invoice in term of description and price). So if you add a delivery cost line to the order, then it will also set the delivery method and lead to 2 delievery cost lines on the invoice, as described which is plain wrong and an incredible regression since version 5.0.6.
REGRESSION 2:
Pay/reconcile the newly created invoice containing the 2 delivery cost lines.
You'll see that for the sale order workflow is stuck into the "progress" state, never reaching completion as it did in previous versions like 5.0.6.
You'll see that actually, there is "confirmed" (instead of done) procurement associated to the order delivery cost line which block the whole workflow I think.
This regression 2 isn't specific to the delivery module. If you sale any physical product along with a service order line, then your order workflow will never complete anymore.
Again, this is an other incredible regression since v5.0.6.
Hope this helps
Changed in openobject-addons: | |
importance: | Undecided → High |
Changed in openobject-addons: | |
status: | New → Fix Released |
Hi i installed, manofacturing and delivery modules, i reproduce the process as you says and when create the invoice from picking created and i get in the invoice lines:
The product and the ATX and the post express as delivery.
I dont see 2 lines from delivery.
Could you reproduce the bug? or maybe something else?
Regards,