Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050928Retail ModulesWeb POSpublic2022-11-17 06:192023-07-10 07:51
alainperez 
alainperez 
highmajorhave not tried
closedfixed 
5
 
RR23Q4 
No
0050928: Unable to find a product when you use a multi UPC Code just after the connection
When searching for a product using a multi upc code, first check that the cache has been created using the OB.UTIL.remoteSearch function by checking the isLoadingCache property. The cache takes a long time when the number of records is very large and the isLoadingCache property can take a long time to change from false to true if the models that load before the Product take a long time, for example the Business Partner model. If in that period of time the user makes a search using multi upc the isLoadinCache property could be false, the search would be done in the cache, however the Product cache has not been created yet.
Configure a system with multiupc module, and a large (>100k) number of products.
Log in the WebPOS and try to scan using a multiupc code. Notice that the query doesn't find any product.
Wait a few seconds/minutes, try again and notice that it works now (because cache was initialized)
No tags attached.
Issue History
2022-11-17 06:19alainperezNew Issue
2022-11-17 06:19alainperezAssigned To => Retail
2022-11-17 06:19alainperezTriggers an Emergency Pack => No
2022-11-17 06:37hgbotNote Added: 0143757
2022-11-17 14:45ranjith_qualiantech_comAssigned ToRetail => alainperez
2023-04-12 14:58alainperezStatusnew => scheduled
2023-07-10 07:51hgbotResolutionopen => fixed
2023-07-10 07:51hgbotStatusscheduled => closed
2023-07-10 07:51hgbotFixed in Version => RR23Q4
2023-07-10 07:51hgbotNote Added: 0152213
2023-07-10 07:51hgbotNote Added: 0152214

Notes
(0143757)
hgbot   
2022-11-17 06:37   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/440 [^]
(0152213)
hgbot   
2023-07-10 07:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 1ca2b1502345590af26a66d9d5a0a8e893fb00b9
Author: Alain PĂ©rez Balart <alain.perez@doceleguas.com>
Date: 10-07-2023 05:51:17
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/1ca2b1502345590af26a66d9d5a0a8e893fb00b9 [^]

Fixes ISSUE-50928: Before creating the cache, set the isLoadingCache property...

---
M web/org.openbravo.mobile.core/app/model/masterdata/MasterdataController.js
---
(0152214)
hgbot   
2023-07-10 07:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/440 [^]