Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043233Retail ModulesWeb POSpublic2020-02-17 13:092020-03-11 16:08
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q3 
jorge-garcia
No
0043233: Stock is not taken from the warehouse that has stock but for the warehouse without stock if it has only one storage bin
Stock is not taken from the warehouse that has stock but for the warehouse without stock if it has only one storage bin.

Locator list is filtered by the order's warehouse and in case it has only one storage bin, foundSingleBin is set with it. In this case, the stock is taken from a different warehouse from the order's warehouse.

FoundSingleBin should be set if the store has only one accessible warehouse
Install the Web POS Stock Validation module

In the back office:
   Create a product
   Add it in the Vall Blanca Store organization's price list and assortment
   Increase its stock by a Physical Inventory in the White Valley Spain Distribution Center warehouse

   Add White Valley Spain Distribution Center warehouse in Organization - Warehouse tab for Vall Blanca Store in case it does not exist and add a lower priority (higher number in Priority field). Decrease its priority in case it exists (for example, 20). The final configuration could be:
      Vall Blanca Store Warehouse (priority: 10)
      White Valley Spain Distribution Center (priority: 20)
   Use Physical Inventories to leave the negative stock of that two warehouses to 0
   Configure all the storage bins of that two warehouses not to allow negative stock, set their Inventory Status to Available

In the POS:
   Create a ticket, add a unit of the previously created product and complete it

In the backoffice:
   Check the stock has been taken from the warehouse with stock (White Valley Spain Distribution Center). This is correct
   Remove one of the storage bins of Vall Blanca Store Warehouse

In the POS:
   Create a ticket, add a unit of the previously created product and complete it

In the backoffice:
   Check the stock has been taken from the warehouse without stock (Vall Blanca Store Warehouse), creating negative stock. This is wrong
No tags attached.
related to defect 0034461 closed mario_castello [SERQA 2019] When creating a sales order in the pos, the shipment is created with an incorrect warehouse in the header 
patch issue 43233 source posterminal.patch (2,907) 2020-02-27 06:11
https://issues.openbravo.com/file_download.php?file_id=14099&type=bug
patch issue 43233 source test.patch (1,673) 2020-02-27 06:11
https://issues.openbravo.com/file_download.php?file_id=14100&type=bug
Issue History
2020-02-17 13:09ngarciaNew Issue
2020-02-17 13:09ngarciaAssigned To => Retail
2020-02-17 13:09ngarciaResolution time => 1583708400
2020-02-17 13:09ngarciaTriggers an Emergency Pack => No
2020-02-17 13:11ngarciaIssue Monitored: networkb
2020-02-17 13:23ngarciaDescription Updatedbug_revision_view_page.php?rev_id=20386#r20386
2020-02-17 15:18ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-02-18 06:11ranjith_qualiantech_comStatusnew => scheduled
2020-02-24 12:06ranjith_qualiantech_comRelationship addedrelated to 0034461
2020-02-27 06:11ranjith_qualiantech_comFile Added: issue 43233 source posterminal.patch
2020-02-27 06:11ranjith_qualiantech_comFile Added: issue 43233 source test.patch
2020-02-27 15:24hgbotCheckin
2020-02-27 15:24hgbotNote Added: 0118164
2020-02-27 15:24hgbotCheckin
2020-02-27 15:24hgbotNote Added: 0118165
2020-02-27 15:25ranjith_qualiantech_comStatusscheduled => resolved
2020-02-27 15:25ranjith_qualiantech_comResolutionopen => fixed
2020-03-11 12:52jorge-garciaReview Assigned To => jorge-garcia
2020-03-11 16:08jorge-garciaNote Added: 0118517
2020-03-11 16:08jorge-garciaStatusresolved => closed
2020-03-11 16:08jorge-garciaFixed in Version => RR20Q3

Notes
(0118164)
hgbot   
2020-02-27 15:24   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 41bdadfba726f44190fa01e35ccf7e5295c1f612
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Feb 27 19:53:52 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/41bdadfba726f44190fa01e35ccf7e5295c1f612 [^]

Fix ISSUE-43233 : Validating Org Warehouse when creating Shipment lines

* SingleBin should be used only when one Warehouse is defined in the Org

---
M src/org/openbravo/retail/posterminal/utility/ShipmentUtils.java
---
(0118165)
hgbot   
2020-02-27 15:24   
Repository: tools/automation/pi-mobile
Changeset: 823564d022c1041a5ad3a407755812730a1dae69
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Feb 27 19:54:02 2020 +0530
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/823564d022c1041a5ad3a407755812730a1dae69 [^]

Verifies issue-43233 : Modified Test 'I34461_VerifyWareHouseOrderAndShipmetLines'

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/receipts/I34461_VerifyWareHouseOrderAndShipmetLines.java
---
(0118517)
jorge-garcia   
2020-03-11 16:08   
Code reviewed and tested