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

Notes
(0101902)
hgbot   
2018-01-23 11:55   
Repository: retail/backports/3.0RR17Q4.1/org.openbravo.retail.posterminal
Changeset: 739b5ab30b8dad045fc456d542deb31c9e9463f8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jan 23 11:55:44 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q4.1/org.openbravo.retail.posterminal/rev/739b5ab30b8dad045fc456d542deb31c9e9463f8 [^]

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