Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043864Retail ModulesWeb POSpublic2020-04-24 13:212020-05-14 18:03
jorge-garcia 
ranjith_qualiantech_com 
normalmajorsometimes
closedfixed 
5
 
RR20Q3 
marvintm
No
0043864: orderSelectorUtils should use Mobile Processes to block the WebPOS UI
In orderselectorUtils.js file, the logic to load order or orders is using OB.UTIL.showLoading functions instead of Mobile processes to block WebPOS UI.

If another Mobile process shows a loading scrim, the logic of orderselectorUtils will always hide loading scrim whatever the remaining processes pending to end.
1) In ERP as System Admin, create a new Mobile Process called testLoadOrders and set the process scrim as "Loading scrim"
2) Login in WebPOS and execute in developers tools a small code. This small code will start the "testLoadOrders" process and will include a recursive function to call OB.UTIL.OrderSelectorUtils.checkOrderAndLoad. At the end of the recursive function, it will finish "testLoadOrders" process.
3) For each order loaded, the loading scrim switchs between hidden and shown
OB.UTIL.showLoading should be changed by Mobile Process in code to avoid this situation
No tags attached.
diff I43864_possibleFix.diff (11,569) 2020-04-27 15:05
https://issues.openbravo.com/file_download.php?file_id=14399&type=bug
Issue History
2020-04-24 13:21jorge-garciaNew Issue
2020-04-24 13:21jorge-garciaAssigned To => Retail
2020-04-24 13:21jorge-garciaTriggers an Emergency Pack => No
2020-04-24 13:36jorge-garciaResolution time => 1589493600
2020-04-27 15:05jorge-garciaFile Added: I43864_possibleFix.diff
2020-04-27 15:33jorge-garciaIssue Monitored: jorge-garcia
2020-04-28 15:10ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-05-05 03:51ranjith_qualiantech_comStatusnew => scheduled
2020-05-06 08:06hgbotCheckin
2020-05-06 08:06hgbotNote Added: 0119604
2020-05-06 09:27ranjith_qualiantech_comNote Added: 0119614
2020-05-07 08:24ranjith_qualiantech_comStatusscheduled => resolved
2020-05-07 08:24ranjith_qualiantech_comResolutionopen => fixed
2020-05-07 17:48adrianromeroNote Added: 0119670
2020-05-07 17:48adrianromeroStatusresolved => new
2020-05-07 17:48adrianromeroResolutionfixed => open
2020-05-08 08:35ranjith_qualiantech_comStatusnew => scheduled
2020-05-08 13:29hgbotCheckin
2020-05-08 13:29hgbotNote Added: 0119697
2020-05-08 13:29hgbotStatusscheduled => resolved
2020-05-08 13:29hgbotResolutionopen => fixed
2020-05-08 13:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86f254937804b8a8870e235f0a7b74c93ef165eb [^]
2020-05-14 18:03marvintmReview Assigned To => marvintm
2020-05-14 18:03marvintmStatusresolved => closed
2020-05-14 18:03marvintmFixed in Version => RR20Q3

Notes
(0119604)
hgbot   
2020-05-06 08:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 365a60f94e29da28763390b331e5bf29fa3fe4f4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Wed May 06 11:36:12 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/365a60f94e29da28763390b331e5bf29fa3fe4f4 [^]

Related to issue-43864 : Added ProcessController when clicking receipt in Verified Return

* Removed showLoading when adding PaidReceipt to OrderList
  since it is handled in ProcessController

---
M src-db/database/sourcedata/OBMOBC_PROCESS_DEFINITION.xml
M web/org.openbravo.retail.posterminal/js/components/modalorderselector.js
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0119614)
ranjith_qualiantech_com   
2020-05-06 09:27   
Mobile Process has already added for OB.UTIL.OrderSelectorUtils.checkOrderAndLoad with the name loadPaidReceipts
(0119670)
adrianromero   
2020-05-07 17:48   
All mobile process of type "Loading Scrim" and "Process Scrim" should have a descriptive message in "Process scrim main message"
(0119697)
hgbot   
2020-05-08 13:29   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 86f254937804b8a8870e235f0a7b74c93ef165eb
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri May 08 16:58:52 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/86f254937804b8a8870e235f0a7b74c93ef165eb [^]

Fixed issue-43864 : Added Scrim message for Open Verified Return Process

---
M src-db/database/sourcedata/OBMOBC_PROCESS_DEFINITION.xml
---