Openbravo Issue Tracking System - Retail Modules
View Issue Details
0054791Retail ModulesWeb POSpublic2024-02-28 16:182024-05-03 11:34
malsasua 
sreehari 
highmajoralways
closedfixed 
5
 
RR24Q3 
No
0054791: when incremental refresh is executed after ticket completion, the ticket printing is slow
when the incremental refresh is executed after the ticket is completed, and the incremental refresh is downloading a lot of data, after click in DONE button, the loading page is displayed and the ticket is not printed immediately.

It seems that the ticket is not printed until all the data downloaded by incremental refresh is stored in local db
. in a environment with at least 50K products (attached a script to create products and prices)
. configure the inc refresh for each 2mins

POS
. open HW Manager
. do login
. start a ticket:
  - add 1 item
  - click in total
  - add payment (no click in DONE)

in DB - update all prices
. wait 2 mins -> messages will be displayed:
Master data refresh will happen after this ticket is closed
. wait the data is downloaded
. click in DONE button

loading page is displayed for more than 1 min, and the ticket is not printed immediately. It is printed 1min later

You can see it in the next video:
https://drive.google.com/file/d/11QtFBSqOyPie8-t1LgeH91SUgK4Goare/view?usp=sharing [^]
No tags attached.
txt script.txt (3,174) 2024-02-28 16:22
https://issues.openbravo.com/file_download.php?file_id=19504&type=bug
Issue History
2024-02-28 16:18malsasuaNew Issue
2024-02-28 16:18malsasuaAssigned To => Retail
2024-02-28 16:18malsasuaTriggers an Emergency Pack => No
2024-02-28 16:22malsasuaFile Added: script.txt
2024-02-28 16:24PracticsIssue Monitored: Practics
2024-03-08 12:24jorgewederagoStatusnew => acknowledged
2024-03-28 05:56sreehariAssigned ToRetail => sreehari
2024-03-28 05:56sreehariStatusacknowledged => scheduled
2024-04-25 07:07hgbotNote Added: 0163708
2024-05-03 11:34hgbotResolutionopen => fixed
2024-05-03 11:34hgbotStatusscheduled => closed
2024-05-03 11:34hgbotFixed in Version => RR24Q3
2024-05-03 11:34hgbotNote Added: 0164048
2024-05-03 11:34hgbotNote Added: 0164049

Notes
(0163708)
hgbot   
2024-04-25 07:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1541 [^]
(0164048)
hgbot   
2024-05-03 11:34   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 3f2e078c2e290a0e22c14b4ecb52da2c3903269c
Author: Sreehari Venkataraman <sreehari.venkataraman.ext@openbravo.com>
Date: 03-05-2024 08:58:12
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3f2e078c2e290a0e22c14b4ecb52da2c3903269c [^]

Fixes ISSUE-54791: setTimeout added to checkRefreshMasterData

---
M web/org.openbravo.retail.posterminal/js/model/order.js
---
(0164049)
hgbot   
2024-05-03 11:34   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1541 [^]