Openbravo Issue Tracking System - Retail Modules
View Issue Details
0037690Retail ModulesWeb POSpublic2018-01-19 11:102018-01-24 14:16
migueldejuana 
migueldejuana 
normalminoralways
closedfixed 
5
 
RR18Q1RR18Q1 
marvintm
No
0037690: 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 => RR18Q1
2018-01-23 11:57hgbotCheckin
2018-01-23 11:57hgbotNote Added: 0101903
2018-01-23 11:57hgbotStatusscheduled => resolved
2018-01-23 11:57hgbotResolutionopen => fixed
2018-01-23 11:57hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/b6d3bbc589ba8c79d86245b6f067364b87040ffe [^] => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/420c4ea6314c952058f2f70fa916958747228998 [^]
2018-01-24 14:16marvintmStatusresolved => closed
2018-01-24 14:16marvintmFixed in Version => RR18Q1

Notes
(0101903)
hgbot   
2018-01-23 11:57   
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal
Changeset: 420c4ea6314c952058f2f70fa916958747228998
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jan 23 11:57:29 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/420c4ea6314c952058f2f70fa916958747228998 [^]

Fixed issue 0037690: 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
---