[5.0] SO not marked picked when 2nd delivery canceled
Bug #399817 reported by
Numérigraphe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Fix Released
|
High
|
Vinay Rana (OpenERP) | |||
Trunk |
Fix Released
|
High
|
Vinay Rana (OpenERP) |
Bug Description
When we make a partial delivery for a sale order, OpenERP will create a 2nd picking.
If we cancel this picking, the sale order shows as 100% picked in the sale, which is correct.
However the box "picked" on the sale order form remains unchecked, when it should be checked.
Example : with demo data:
- take the packing for SO0005
- confirm the packing with 3 PC2s instead of 4
- cancel the second packing which gets created for this order
Related branches
lp:~numerigraphe/openobject-addons/5.0-unittest
Superseded
for merging
into
lp:openobject-addons/5.0
- OpenERP Core Team: Pending requested
-
Diff: 69 lines (+54/-0)2 files modifiedaccount/__terp__.py (+1/-0)
account/test/sequence_bug602188_test.xml (+53/-0)
tags: | added: 5.0 |
Changed in openobject-addons: | |
status: | New → In Progress |
description: | updated |
tags: | added: partial-delivery |
To post a comment you must log in.
There is more wrong with partial delivery.
Have product in stock for 3 pieces and create sale order for 4 pieces.
Do the picking -> check availability => not enough material, status will not change => OK
Split line in 3 pcs => second line is created for 1 PCS in state "Available" => NOK should be status Confirmed!
Resulting in that the sales order status "picked" = 100% which is not the case.
Now I can manually cancel the availability back to status "Confirmed" for this 1 PCS picking line and next check availability will not process => OK is correct.
But the sales order will stay at status 100% picked, which is still incorrect. => NOK should be 75%