Openbravo Issue Tracking System - Modules
View Issue Details
0029966ModulesWarehouse Pickingpublic2015-05-21 17:522015-05-22 08:41
umartirena 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
 
umartirena
0029966: Warehouse Picking List cannot be canceled if it has been shipped on another different shipment
Warehouse Picking List cannot be canceled if it has been shipped on another different shipment.
Error is displayed:
"Error
Cannot delete released reservation"

This happens because the cancel process does not take into account if other shipments that the one created in the picking list have released the reservation.
Create a Sales order with a line of qty 10 for a product with stock.
Click on Generate Picking List:
 * Picking List type: "Direct Picking List to Customer"
 * Grouping Criteria: "Not group"
Click OK.
Go to Goods Shipment window.
Create a Header for the same Business Partner as Sales Order previously created.
Click on "Create Lines From"
 * Select previous sales order.
 * Select the line.
Click OK.
In Lines edit the created line and set movement qty 5.
Complete the shipment.
Go to Warehouse Picking List window.
Select the previously created Picking List.
Cancel it.
The following error is raised:
"Error
Cannot delete released reservation"
No tags attached.
related to defect 0035542 closed aferraz Wrong stock reservation when deleting lines or canceling partially shipped orders' picking lists 
related to defect 0035600 new Triage Omni WMS An exception is thrown in Eclipse and the popup to Delete line in the PL is not opened 
diff errorReleased.diff (792) 2015-05-21 17:52
https://issues.openbravo.com/file_download.php?file_id=8107&type=bug
Issue History
2015-05-21 17:52umartirenaNew Issue
2015-05-21 17:52umartirenaAssigned To => Triage Finance
2015-05-21 17:52umartirenaFile Added: errorReleased.diff
2015-05-21 19:13jorge-garciaNote Added: 0077635
2015-05-21 19:13jorge-garciaStatusnew => scheduled
2015-05-21 19:13jorge-garciaAssigned ToTriage Finance => jorge-garcia
2015-05-22 08:40umartirenaNote Added: 0077647
2015-05-22 08:40umartirenaStatusscheduled => resolved
2015-05-22 08:40umartirenaResolutionopen => fixed
2015-05-22 08:41umartirenaFixed in SCM revision => https://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/e06ba2b7c571 [^]
2015-05-22 08:41umartirenaReview Assigned To => umartirena
2015-05-22 08:41umartirenaNote Added: 0077648
2015-05-22 08:41umartirenaStatusresolved => closed
2017-03-17 14:37aferrazRelationship addedrelated to 0035542
2017-03-22 16:44markmm82Relationship addedrelated to 0035600

Notes
(0077635)
jorge-garcia   
2015-05-21 19:13   
Test Plan

Create a Sales order with a line of qty 10 for a product with stock.
Click on Generate Picking List:
 * Picking List type: "Direct Picking List to Customer"
 * Grouping Criteria: "Not group"
Click OK.
Go to Goods Shipment window.
Create a Header for the same Business Partner as Sales Order previously created.
Click on "Create Lines From"
 * Select previous sales order.
 * Select the line.
Click OK.
In Lines edit the created line and set movement qty 5.
Complete the shipment.
Go to Warehouse Picking List window.
Select the previously created Picking List.
Cancel it. The process is done correctly
(0077647)
umartirena   
2015-05-22 08:40   
Fixed in the following commit:

https://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/e06ba2b7c571 [^]
(0077648)
umartirena   
2015-05-22 08:41   
Code Review + Testing OK