Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035506Retail ModulesWeb POSpublic2017-03-14 12:252017-03-24 12:52
shuehner 
migueldejuana 
normalmajorhave not tried
closedfixed 
5
 
RR17Q2 
marvintm
No
0035506: On completing ticket extra request always for SalesRepresentative 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.

As that combo can be big (i.e. 201 values in example but-perf-dev3) database that response is quite big 20-30kb so reporting as major.
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 0035507 closed adrianromero On completing ticket extra request always for DiscountFilterBusinessPartner in remote data which should be avoided 
? issue35506Posterminal.commit (2,277) 2017-03-22 11:17
https://issues.openbravo.com/file_download.php?file_id=10593&type=bug
Issue History
2017-03-14 12:25shuehnerNew Issue
2017-03-14 12:25shuehnerAssigned To => Retail
2017-03-14 12:25shuehnerTriggers an Emergency Pack => No
2017-03-14 12:26shuehnerTag Attached: Performance
2017-03-14 12:27shuehnerResolution time => 1491256800
2017-03-14 12:34shuehnerRelationship addedrelated to 0035507
2017-03-21 10:01migueldejuanaAssigned ToRetail => migueldejuana
2017-03-21 10:01migueldejuanaStatusnew => scheduled
2017-03-22 11:17migueldejuanaFile Added: issue35506Posterminal.commit
2017-03-22 11:19hgbotCheckin
2017-03-22 11:19hgbotNote Added: 0095497
2017-03-22 11:19hgbotStatusscheduled => resolved
2017-03-22 11:19hgbotResolutionopen => fixed
2017-03-22 11:19hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a219e327f80d17b817b31a059d7322b6cf0a984e [^]
2017-03-24 12:52marvintmReview Assigned To => marvintm
2017-03-24 12:52marvintmStatusresolved => closed
2017-03-24 12:52marvintmFixed in Version => RR17Q2

Notes
(0095497)
hgbot   
2017-03-22 11:19   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: a219e327f80d17b817b31a059d7322b6cf0a984e
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Mar 21 15:31:07 2017 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a219e327f80d17b817b31a059d7322b6cf0a984e [^]

Fixed issue 0035506: On completing ticket extra request always for SalesRepresentative in remote data which should be avoided

- Just check sales representative once when we are logging

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