Openbravo Issue Tracking System - Retail Modules
View Issue Details
0041716Retail ModulesWeb POSpublic2019-08-29 09:592019-09-12 09:48
asiermartirena 
asiermartirena 
normalmajoralways
closedfixed 
5
 
RR19Q4 
marvintm
No
0041716: It shouldn't be possible to sell a cross store product without stock
Currently a stock check is done each time a cross store product is sold, but any action is done when the request receives a unsuccessful response.
It shouldn't be possible to sell a cross store product without stock.
Load the Web POS in a cross store environment (terminal OS-1).
Add a break point in the StoreDetailedStock.java class to ensure the stock check is done.
Sell by cross store a product without stock --> Even the stock query is done, the product can be sold.
No tags attached.
Issue History
2019-08-29 09:59asiermartirenaNew Issue
2019-08-29 09:59asiermartirenaAssigned To => asiermartirena
2019-08-29 09:59asiermartirenaTriggers an Emergency Pack => No
2019-08-29 10:47hgbotCheckin
2019-08-29 10:47hgbotNote Added: 0114321
2019-08-29 10:47hgbotStatusnew => resolved
2019-08-29 10:47hgbotResolutionopen => fixed
2019-08-29 10:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecd826ea2b209d2ce83f5b7e6330c785c70fb60a [^]
2019-09-12 09:48marvintmReview Assigned To => marvintm
2019-09-12 09:48marvintmStatusresolved => closed
2019-09-12 09:48marvintmFixed in Version => RR19Q4

Notes
(0114321)
hgbot   
2019-08-29 10:47   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ecd826ea2b209d2ce83f5b7e6330c785c70fb60a
Author: Asier Martirena <asier.martirena <at> openbravo.com>
Date: Thu Aug 29 10:47:21 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ecd826ea2b209d2ce83f5b7e6330c785c70fb60a [^]

Fixed issue 41716: Now it's not possible to sell a product without stock using cross store

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/retail/posterminal/PaidReceipts.java
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/utils/stockUtils.js
---