Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037692Retail ModulesWeb POSpublic2018-01-19 11:102018-01-24 14:15
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR17Q3.3RR17Q3.3 
marvintm
No
0037692: Remove unneeded receipt save which causes performance problems
After every change in the receipt, calculateReceipt is executed. Inside this function, we do a save of the order in the local database.

All the interactions with the local database must be avoided because the performance get affected.

We need to remove all saves of the receipt done before doing calculateReceipt because they are not needed and make performance to be bad.
See Desc.
No tags attached.
blocks defect 0037688 closed migueldejuana Remove unneeded receipt save which causes performance problems 
Issue History
2018-01-19 12:18marvintmTypedefect => backport
2018-01-19 12:18marvintmTarget Version => RR17Q3.3
2018-01-23 11:53migueldejuanaNote Added: 0101901
2018-01-23 11:53migueldejuanaStatusscheduled => resolved
2018-01-23 11:53migueldejuanaFixed in Version => RR17Q3.3
2018-01-23 11:53migueldejuanaResolutionopen => fixed
2018-01-24 14:15marvintmStatusresolved => closed

Notes
(0101901)
migueldejuana   
2018-01-23 11:53   
Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal
Changeset: b3f034cd8aefcd826dd352363a3bb63c03b90596
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jan 23 11:47:12 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/b3f034cd8aefcd826dd352363a3bb63c03b90596 [^] [^]

Fixed issue 0037688: Remove unneeded receipt save which causes performance problems

- Remove unneeded receipt save to improve performance
-Mantain the check for corner case when a line is added while the order is be send to backend. Remove from rfid buffers the line because it is not added

---
M web/org.openbravo.retail.posterminal/js/model/order.js