Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040386Retail ModulesWeb POSpublic2019-03-14 19:432020-07-02 09:00
lbressan 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR20Q3 
marvintm
No
0040386: POS allow sales a product without stock in offline mode
POS allow sales a product without stock in offline mode
Backend:
1. Configure the preference "Enable Stock Validation"
2. Configure a product without stock, or search any product with stock 0 or negative.

Web POS:

1. Open the POS.
2. Look for the previous product, configured in the Backend without stock. Do not add the product.
3. Open the Developer Tools of the Navigator -> Network -> Go to offline mode.
4. Add the product.

Verify that, even when the product is out of stock, you can add it without problems in offline mode.
Show a popup and do not add the product until the cashier clicks OK in the popup. If the cashier cancels, the line is not added -> see the attached image.
No tags attached.
png stock.png (92,744) 2020-06-10 09:36
https://issues.openbravo.com/file_download.php?file_id=14595&type=bug
png
Issue History
2019-03-14 19:43lbressanNew Issue
2019-03-14 19:43lbressanAssigned To => Retail
2019-03-14 19:43lbressanFile Added: screenshot.zip
2019-03-14 19:43lbressanResolution time => 1554328800
2019-03-14 19:43lbressanTriggers an Emergency Pack => No
2020-06-10 09:36LeyreResolution time1554328800 => 1593554400
2020-06-10 09:36LeyreCategoryOffline Mode => Web POS
2020-06-10 09:36LeyreTypefeature request => defect
2020-06-10 09:36LeyreSummaryPOS allow sales a product without stock => POS allow sales a product without stock in offline mode
2020-06-10 09:36LeyreSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21171#r21171
2020-06-10 09:36LeyreProposed Solution updated
2020-06-10 09:36LeyreFile Deleted: screenshot.zip
2020-06-10 09:36LeyreFile Added: stock.png
2020-06-10 09:36LeyreversionRR18Q2.2 =>
2020-06-23 15:54ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-06-24 09:27ranjith_qualiantech_comStatusnew => scheduled
2020-06-25 18:47hgbotCheckin
2020-06-25 18:47hgbotNote Added: 0121092
2020-07-01 12:05ranjith_qualiantech_comStatusscheduled => resolved
2020-07-01 12:05ranjith_qualiantech_comResolutionopen => fixed
2020-07-02 09:00marvintmReview Assigned To => marvintm
2020-07-02 09:00marvintmStatusresolved => closed
2020-07-02 09:00marvintmFixed in Version => RR20Q3

Notes
(0121092)
hgbot   
2020-06-25 18:47   
Repository: erp/pmods/org.openbravo.retail.stockvalidation
Changeset: acfa5896ae9b95cda62ca70bf9dc93b3f6a57b58
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu Jun 25 22:16:59 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.stockvalidation/rev/acfa5896ae9b95cda62ca70bf9dc93b3f6a57b58 [^]

Related to issue-40386 : Allow to add product in offline mode without checking stock

* In Offline mode, if user tries to add the product, it will ask for confirmation
  from the user whether to add the product withpout checking stock availablity

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M web/org.openbravo.retail.stockvalidation/js/modals.js
---