Openbravo Issue Tracking System - Retail Modules
View Issue Details
0035719Retail ModulesWeb POSpublic2017-01-23 10:412017-05-02 15:59
Sandrahuguet 
jorge-garcia 
normalminorhave not tried
closedfixed 
20Community Appliance
 
RR17Q1.1RR17Q1.1 
guilleaer
No
0035719: Multiple and unnecessary requests to BPLocation in new business partner selector
Multiple and unnecessary requests to BPLocation in new business partner selector. See attached screenshot.
- Enable all remote preference
- Log in the WebPOS
- Open developers tools
- Tap on delete ticket, notice that there are multiple requests to BPLocation
No tags attached.
blocks defect 0035025 closed ebecerra Multiple and unnecessary requests to BPLocation in new business partner selector 
Issue History
2017-04-06 17:43marvintmTypedefect => backport
2017-04-06 17:43marvintmTarget Version => RR17Q1.1
2017-04-12 13:17marvintmAssigned Toebecerra => Retail
2017-04-27 12:57hgbotCheckin
2017-04-27 12:57hgbotNote Added: 0096227
2017-04-27 12:57hgbotStatusscheduled => resolved
2017-04-27 12:57hgbotResolutionopen => fixed
2017-04-27 12:57hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e5322aa10299b508f8845f2cb435b3fe7f27266e [^] => http://code.openbravo.com/retail/backports/3.0RR17Q1.1/org.openbravo.retail.posterminal/rev/146ec11e987dfcd2caf29a9f01719726ab2a6cd4 [^]
2017-04-27 12:57jorge-garciaAssigned ToRetail => jorge-garcia
2017-05-02 10:06SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15084#r15084
2017-05-02 10:42guilleaerReview Assigned Tomarvintm => guilleaer
2017-05-02 10:42guilleaerStatusresolved => closed
2017-05-02 10:42guilleaerFixed in Version => RR17Q1.1
2017-05-02 15:59SandrahuguetSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=15089#r15089

Notes
(0096227)
hgbot   
2017-04-27 12:57   
Repository: retail/backports/3.0RR17Q1.1/org.openbravo.retail.posterminal
Changeset: 146ec11e987dfcd2caf29a9f01719726ab2a6cd4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Apr 27 12:55:26 2017 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR17Q1.1/org.openbravo.retail.posterminal/rev/146ec11e987dfcd2caf29a9f01719726ab2a6cd4 [^]

Fixed issue 35719: Multiple and unnecessary requests to BPLocation in new business partner selector

 Optmize call to get BPLocation.

 Update default BP locations cache when edit address.

---
M web/org.openbravo.retail.posterminal/js/components/bplocation.js
M web/org.openbravo.retail.posterminal/js/components/businesspartner_selector.js
M web/org.openbravo.retail.posterminal/js/components/modalreceiptproperties.js
M web/org.openbravo.retail.posterminal/js/data/datacustomeraddrsave.js
M web/org.openbravo.retail.posterminal/js/model/businesspartner.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---