Openbravo Issue Tracking System - Modules
View Issue Details
0037936ModulesWarehouse Pickingpublic2018-02-15 15:592018-03-19 13:09
ngarcia 
markmm82 
urgentmajoralways
closedfixed 
5
 
 
dmiguelez
0037936: Cannot Generate a second outbound Picking List from a Sales Order if it is reactivated and warehouse changed
Cannot Generate a second outbound Picking List from a Sales Order if it is reactivated and warehouse changed
As group admin role:
   Set 'Enable Stock Reservations' preference to Y
   Apply module's dataset
   Log out and log in with España Region Norte warehouse

   Create a Sales Order for España and Region Norte warehouse
   Add two products with stock in Region Norte and one in Region Sur
   Book it
   Generate an outbound picking list
   Confirm one line and remove the other one
   Close the picking list

   Log out and log in with Region Sur warehouse
   Reactivate the sales order and change the warehouse to Region Sur
   Book it
   Generate an outbound picking list
   Check the following error message is shown:
      There is not enough available stock

   
No tags attached.
related to design defect 0038169 new Triage Omni WMS Creating a new picking list after sales order warehouse is modified should be forbidden if there exists an active Picking List 
Issue History
2018-02-15 15:59ngarciaNew Issue
2018-02-15 15:59ngarciaAssigned To => Triage Finance
2018-02-15 15:59ngarciaResolution time => 1520463600
2018-02-15 16:00ngarciaIssue Monitored: networkb
2018-02-15 17:20dmiguelezAssigned ToTriage Finance => markmm82
2018-02-20 23:28markmm82Note Added: 0102539
2018-02-20 23:28markmm82Statusnew => scheduled
2018-03-02 13:52hgbotCheckin
2018-03-02 13:52hgbotNote Added: 0102925
2018-03-02 13:52hgbotStatusscheduled => resolved
2018-03-02 13:52hgbotResolutionopen => fixed
2018-03-02 13:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/9fe2bcd8d7f8e5476d83ae00d34db71a14651960 [^]
2018-03-02 13:52hgbotCheckin
2018-03-02 13:52hgbotNote Added: 0102927
2018-03-02 13:57dmiguelezNote Added: 0102929
2018-03-02 14:01dmiguelezReview Assigned To => dmiguelez
2018-03-02 14:01dmiguelezNote Added: 0102930
2018-03-02 14:01dmiguelezStatusresolved => closed
2018-03-19 13:09ngarciaRelationship addedrelated to 0038169

Notes
(0102539)
markmm82   
2018-02-20 23:28   
Test Plan:
As group admin role:
   Set 'Enable Stock Reservations' preference to Y
   Apply module's dataset
   Log out and log in with España Region Norte warehouse

   Be sure there are outbounds storage bins for Region Norte and Region Sur organizations.

   Create a Sales Order for España and Region Norte warehouse
   Add two products with stock, one in Region Norte and one in Region Sur.
   Book it
   Generate an outbound picking list
   Confirm one line and remove the other one
   Close the picking list

   Log out and log in with Region Sur warehouse
   Reactivate the sales order and change the warehouse to Region Sur
   Book it
   Generate an outbound picking list
   Check the no error message is shown.
   Go to generated outbound picking list and confirm one line and remove the other one
   Close the picking list and notice it is marked as DONE.
(0102925)
hgbot   
2018-03-02 13:52   
Repository: erp/pmods/org.openbravo.warehouse.pickinglist
Changeset: 9fe2bcd8d7f8e5476d83ae00d34db71a14651960
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Feb 26 17:16:14 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/9fe2bcd8d7f8e5476d83ae00d34db71a14651960 [^]

Fixes Issue 37936. Remove Reservation headers if they are in
Draft status and no reseverved stock is related to them

---
M src/org/openbravo/warehouse/pickinglist/Utilities.java
---
(0102927)
hgbot   
2018-03-02 13:52   
Repository: erp/pmods/org.openbravo.warehouse.pickinglist
Changeset: 55ceaaf14f548b6d56d07fb8d164706d8ef4940f
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Mar 02 13:29:26 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.pickinglist/rev/55ceaaf14f548b6d56d07fb8d164706d8ef4940f [^]

Related to Issue 37936, 37935.

Updated module version

---
M src-db/database/sourcedata/AD_MODULE.xml
---
(0102929)
dmiguelez   
2018-03-02 13:57   
Warehouse Picking Module has been designed to pick Stock for a Sales Order from one Warehouse. It does not support creating a Warehouse Picking for the same Sales Order from multiple Warehouses.

The fix of the issue has been to remove the empty Reservations already created, however, the support for multiple Warehouses for the same Sales Order has not been implemented.
(0102930)
dmiguelez   
2018-03-02 14:01   
Code Review + Testing Ok