Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036213Retail ModulesWeb POSpublic2017-06-08 17:582017-06-30 09:41
dmiguelez 
jorge-garcia 
urgentmajoralways
closedfixed 
5
 
RR17Q3 
marvintm
No
0036213: Adapt Web POS stock validation to support Inventory Status
Inventory Status has been introduced in Q3 and Stock Validation Module must be adapted to support it.

Previously, the check for allowing negative Stock was done at Client level. Now this flag has been deprecated and it has been moved to Bin Level.

Each Bin has an Inventory Status, and this Status has three flags, one of them is OverIssue, this is the new Allow negative Stock flag.

This module must be adapted to look for negative Stock using this flag instead of the one in client information
Inventory Status has been introduced in Q3 and Stock Validation Module must be adapted to support it.

Previously, the check for allowing negative Stock was done at Client level. Now this flag has been deprecated and it has been moved to Bin Level.

Each Bin has an Inventory Status, and this Status has three flags, one of them is OverIssue, this is the new Allow negative Stock flag.

This module must be adapted to look for negative Stock using this flag instead of the one in client information
No tags attached.
related to defect 0039600 closed guilleaer AWO Retail Connector allows to get negative stock in a storage bin that does not allow overissue 
Issue History
2017-06-08 17:58dmiguelezNew Issue
2017-06-08 17:58dmiguelezAssigned To => Retail
2017-06-08 17:58dmiguelezTriggers an Emergency Pack => No
2017-06-08 17:58dmiguelezNote Added: 0097249
2017-06-26 13:50jorge-garciaAssigned ToRetail => jorge-garcia
2017-06-26 13:50jorge-garciaStatusnew => acknowledged
2017-06-27 08:36hgbotCheckin
2017-06-27 08:36hgbotNote Added: 0097692
2017-06-27 08:36hgbotStatusacknowledged => resolved
2017-06-27 08:36hgbotResolutionopen => fixed
2017-06-27 08:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4eaed24d6da2b0cbaed9dc257dc158936ad6cb0c [^]
2017-06-27 09:04jorge-garciaStatusresolved => new
2017-06-27 09:04jorge-garciaResolutionfixed => open
2017-06-27 09:13jorge-garciaStatusnew => scheduled
2017-06-27 09:13jorge-garciaNote Added: 0097694
2017-06-29 13:04hgbotCheckin
2017-06-29 13:04hgbotNote Added: 0097764
2017-06-29 13:04hgbotStatusscheduled => resolved
2017-06-29 13:04hgbotResolutionopen => fixed
2017-06-29 13:04hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4eaed24d6da2b0cbaed9dc257dc158936ad6cb0c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.stockvalidation/rev/0a7e2b735dd4c46a3f577cd53aa447332c161c81 [^]
2017-06-30 08:11hgbotCheckin
2017-06-30 08:11hgbotNote Added: 0097781
2017-06-30 08:12hgbotCheckin
2017-06-30 08:12hgbotNote Added: 0097782
2017-06-30 09:41marvintmReview Assigned To => marvintm
2017-06-30 09:41marvintmStatusresolved => closed
2017-06-30 09:41marvintmFixed in Version => RR17Q3
2018-11-08 11:05ngarciaRelationship addedrelated to 0039600

Notes
(0097249)
dmiguelez   
2017-06-08 17:58   
Filter by stock in product search Module must be checked to see if it is needed to be adapted
(0097692)
hgbot   
2017-06-27 08:36   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4eaed24d6da2b0cbaed9dc257dc158936ad6cb0c
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jun 26 13:51:52 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4eaed24d6da2b0cbaed9dc257dc158936ad6cb0c [^]

Fixed issue 36213: Adapt Web POS stock validation to support Inventory Status

The solution is to set the imageID to the product model and check it in case the
preference is set to Y.

---
M src/org/openbravo/retail/posterminal/master/ProductProperties.java
M web/org.openbravo.retail.posterminal/js/components/renderproduct.js
M web/org.openbravo.retail.posterminal/js/model/product.js
---
(0097694)
jorge-garcia   
2017-06-27 09:13   
The previous patch fixes the issue number 36303
(0097764)
hgbot   
2017-06-29 13:04   
Repository: erp/pmods/org.openbravo.retail.stockvalidation
Changeset: 0a7e2b735dd4c46a3f577cd53aa447332c161c81
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jun 29 12:35:09 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.stockvalidation/rev/0a7e2b735dd4c46a3f577cd53aa447332c161c81 [^]

Fixed issue 36213: Adapt Web POS stock validation to support Inventory Status

Stock validation module has been changed:
 * Two files has been deleted from the module because are no longer
   necessaries.
 * The check of allow negative stock is set at store bin level.
 * The allow negative stock has been renamed to overissue.
 * The functionality checks for those store bins in case there is not enough
   stock.

---
M src/org/openbravo/retail/stockvalidation/OBPOSSVComponentProvider.java
M src/org/openbravo/retail/stockvalidation/OrderFromQuotationStockChecker.java
M src/org/openbravo/retail/stockvalidation/StockChecker.java
M web/org.openbravo.retail.stockvalidation/js/modals.js
R src/org/openbravo/retail/stockvalidation/ModulePropertiesServlet.java
R web/org.openbravo.retail.stockvalidation/js/initmodule.js
---
(0097781)
hgbot   
2017-06-30 08:11   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 00aead81c6501c6bce82c19a915f979c17ac64c3
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jun 29 12:38:12 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/00aead81c6501c6bce82c19a915f979c17ac64c3 [^]

Related to issue 36213: Adapt Web POS stock validation to support Inventory Status

OrderLoader now admits to specify a store bin which allows to have negative stock.

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---
(0097782)
hgbot   
2017-06-30 08:12   
Repository: tools/automation/pi-mobile
Changeset: eef8d3733266bbbd4153804e16c36f165d3e117b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Jun 29 17:36:03 2017 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/eef8d3733266bbbd4153804e16c36f165d3e117b [^]

Related to issue 36213: Adapt Web POS stock validation to support Inventory Status

Change some test due to the new way of check stock validation.

---
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockvalidation/CheckStockValidation.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockvalidation/EnableDisableStockValidation.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockvalidation/I34089_OrderFromQuotationNotAllowNegativeStock.java
M src-test/org/openbravo/test/mobile/retail/extmodules/selenium/tests/stockvalidation/I34092_OrderStockValidationMultiReceipt.java
---