Openbravo Issue Tracking System - Retail Modules
View Issue Details
0046724Retail ModulesWeb POSpublic2021-05-18 22:342021-07-11 14:53
lbressan 
Retail 
highmajoralways
newopen 
5
 
 
No
0046724: Slow performance when opening layaway with many lines
We have found that to open a reservation with many lines it takes approximately 6 seconds.
In some cases it takes 14 seconds longer.
https://youtu.be/PHg0Ei6U5mQ [^]
1- Go to webpos
2- Add 40 distincts products --> 40 lines
3- Go to menu and click layaway this receipt
4- Finish layaway
5- Go to menu and click open receipt and select the last layaway
6- The result is 6 o more seconds waiting
No tags attached.
Issue History
2021-05-18 22:34lbressanNew Issue
2021-05-18 22:34lbressanAssigned To => Retail
2021-05-18 22:34lbressanResolution time => 1623103200
2021-05-18 22:34lbressanTriggers an Emergency Pack => No
2021-05-18 23:15PracticsIssue Monitored: Practics
2021-05-19 08:20PracticsNote Added: 0128369
2021-05-19 09:04guilleaerProjectPOS2 => Retail Modules
2021-05-24 06:54marvintmCategoryPOS => Web POS
2021-05-25 08:15PracticsNote Added: 0128597
2021-06-04 04:52rqueraltaAssigned ToRetail => rqueralta
2021-06-10 06:16ranjith_qualiantech_comAssigned Torqueralta => ranjith_qualiantech_com
2021-06-10 08:50ranjith_qualiantech_comAssigned Toranjith_qualiantech_com => rqueralta
2021-06-21 06:19ranjith_qualiantech_comAssigned Torqueralta => ranjith_qualiantech_com
2021-07-09 08:32marvintmNote Added: 0130341
2021-07-09 08:32marvintmTypedefect => design defect
2021-07-11 14:53ranjith_qualiantech_comAssigned Toranjith_qualiantech_com => Retail

Notes
(0128369)
Practics   
2021-05-19 08:20   
debugging the js we have seen that the problem is found when the function OB.MobileApp.model.receipt.clearWith(model); is called in class web/org.openbravo.retail.posterminal/js/utils/ticketListUtils.js

within this function specifically in OB.UTIL.clone(_order, this);
(0128597)
Practics   
2021-05-25 08:15   
With the OBPOS_retail.productimages preference to N (the images in web cache) is when the loading time increases
(0130341)
marvintm   
2021-07-09 08:32   
After further analysis, we saw that most of the time is spent on Enyo rendering methods, so it is not feasible to further optimise this at this point.