Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040944Retail ModulesWeb POSpublic2019-05-24 11:002019-06-25 12:32
aaroncalero 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q3 
guilleaer
No
0040944: Check Stock window is never shown in offline mode
Check Stock window is never shown in offline mode. When adding a product with the 'Show Stock Screen' flag enabled, the stock screen does not appear. Additionally, the Check Stock button on the EDIT tab is hidden during offline mode.
Login in WebPOS.
Open the browser console, go to the Network tab and check the Offline checkbox to force the offline mode.
Do a ticket search (Menu > Open Receipt, then search without filters) to trigger the offline mode.
Create a new ticket and add the product Multi-tool (which is already configured as 'Show Stock Screen'.
==> Verify that the product is added directly to the ticket.
Click on the product line and go to the EDIT tab.
==> Verify that the Check Stock button is not shown.
Both the stock screen and the check stock button are currently checking that the OB.MobileApp.model.get('connectedToERP') is true. This validation should be removed.
Also the Apply button on the stock screen window should be enabled even in offline, since the product is going to be added/already in a line anyway.
No tags attached.
Issue History
2019-05-24 11:00aaroncaleroNew Issue
2019-05-24 11:00aaroncaleroAssigned To => Retail
2019-05-24 11:00aaroncaleroResolution time => 1559858400
2019-05-24 11:00aaroncaleroTriggers an Emergency Pack => No
2019-06-07 09:57marvintmResolution time1559858400 => 1560549600
2019-06-07 09:57marvintmTypedesign defect => defect
2019-06-10 13:27ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-06-10 13:28ranjith_qualiantech_comStatusnew => scheduled
2019-06-18 14:14hgbotCheckin
2019-06-18 14:14hgbotNote Added: 0112858
2019-06-18 14:14hgbotStatusscheduled => resolved
2019-06-18 14:14hgbotResolutionopen => fixed
2019-06-18 14:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e657f7ee352578e73397026d7b86e7e9969a66e6 [^]
2019-06-25 12:32guilleaerReview Assigned To => guilleaer
2019-06-25 12:32guilleaerStatusresolved => closed
2019-06-25 12:32guilleaerFixed in Version => RR19Q3

Notes
(0112858)
hgbot   
2019-06-18 14:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: e657f7ee352578e73397026d7b86e7e9969a66e6
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 18 17:43:28 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e657f7ee352578e73397026d7b86e7e9969a66e6 [^]

Fixed issue 40944 : Stock Window and Edit Tab Check Stock button should be shown in offline mode

---
M web/org.openbravo.retail.posterminal/js/actions/showstockline.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/ps-productdetailsview.js
M web/org.openbravo.retail.posterminal/js/utils/stockUtils.js
---