Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035507Retail ModulesWeb POSpublic2017-03-14 12:292017-03-28 17:34
shuehner 
adrianromero 
normalmajorhave not tried
closedfixed 
5
 
RR17Q2 
marvintm
No
0035507: On completing ticket extra request always for DiscountFilterBusinessPartner in remote data which should be avoided
Having remote data activated completing a ticket does always an extra request for SalesRepresentative (to get combo value) with id of the anonymous business partner.

That extra request should be avoided is possible.

As other data related to anonymous customer (i.e. location) is already cached. Maybe that discount info should be cached locally also with same lifetime to be consistent.
Remote data activated
Add a product to a ticket
Complete that ticket
Check above request in net panel to see it is fired
Performance
related to defect 0035506 closed migueldejuana On completing ticket extra request always for SalesRepresentative in remote data which should be avoided 
Issue History
2017-03-14 12:29shuehnerNew Issue
2017-03-14 12:29shuehnerAssigned To => Retail
2017-03-14 12:29shuehnerResolution time => 1491256800
2017-03-14 12:29shuehnerTriggers an Emergency Pack => No
2017-03-14 12:29shuehnerTag Attached: Performance
2017-03-14 12:34shuehnerRelationship addedrelated to 0035506
2017-03-14 16:28shuehnerSeverityminor => major
2017-03-23 17:09adrianromeroAssigned ToRetail => reinaldoguerra
2017-03-23 17:09adrianromeroStatusnew => scheduled
2017-03-27 19:06hgbotCheckin
2017-03-27 19:06hgbotNote Added: 0095596
2017-03-27 19:06hgbotStatusscheduled => resolved
2017-03-27 19:06hgbotResolutionopen => fixed
2017-03-27 19:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/116568ead3b16104e12db5970dfe60daeed0252f [^]
2017-03-27 19:11adrianromeroReview Assigned To => marvintm
2017-03-28 10:57adrianromeroAssigned Toreinaldoguerra => adrianromero
2017-03-28 17:34marvintmStatusresolved => closed
2017-03-28 17:34marvintmFixed in Version => RR17Q2

Notes
(0095596)
hgbot   
2017-03-27 19:06   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 116568ead3b16104e12db5970dfe60daeed0252f
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Mar 23 17:40:45 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/116568ead3b16104e12db5970dfe60daeed0252f [^]

Fixes issue 0035507: On completing ticket extra request always for DiscountFilterBusinessPartner in remote data which should be avoided

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