Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042599Retail ModulesWeb POSpublic2019-10-01 17:432019-12-27 08:38
kchoperena 
rqueralta 
highcriticalalways
closedfixed 
5
 
RR19Q4.1RR19Q4.1 
guilleaer
No
0042599: The 'Assign Customer' button of 'View Details' window is launching a BPLocation query without id
PREFERENCE: Enable Remote for Customer=Y

In the customers selector, in the context menu, if we open the 'View Details' window and click on 'Assign Customer' the Web POS is executing 4 times the BPLocation query:
1.- BPLocation -> Without id location value
2.- BPLocation -> Without id location value
3.- BPLocation -> With expected id location value
4.- BPLocation -> With expected id location value

NOTE: In BUT, as the query is executing without id, postgresql creates temporal files to manage the result data
1.- Log into the WebPOS
2.- Do an empty search in the customer selector
3.- Using the context menu, click on 'View Details' button
4.- Click on 'Assign Customer' button

EXPECTED RESULT:
Check in the developer tools executed BPLocation queries, will be 4.

NOTE: If you execute again the flow using the same customer, you should only have 2 queries that are correct.

No tags attached.
blocks defect 0041910 closed rqueralta The 'Assign Customer' button of 'View Details' window is launching a BPLocation query without id 
patch issue 42599 source posterminal.patch (1,641) 2019-12-24 14:02
https://issues.openbravo.com/file_download.php?file_id=13727&type=bug
Issue History
2019-12-18 16:38marvintmTypedefect => backport
2019-12-18 16:38marvintmTarget Version => RR19Q4.1
2019-12-24 14:02ranjith_qualiantech_comFile Added: issue 42599 source posterminal.patch
2019-12-24 16:35hgbotCheckin
2019-12-24 16:35hgbotNote Added: 0116520
2019-12-24 16:35hgbotStatusscheduled => resolved
2019-12-24 16:35hgbotResolutionopen => fixed
2019-12-24 16:35hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e05daa1f380293e80c3fd810097572f53ebd7b42 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q4.1/org.openbravo.retail.posterminal/rev/c970e560266a339beedd642ed3614207903462b4 [^]
2019-12-27 08:38guilleaerReview Assigned Tomarvintm => guilleaer
2019-12-27 08:38guilleaerStatusresolved => closed
2019-12-27 08:38guilleaerFixed in Version => RR19Q4.1

Notes
(0116520)
hgbot   
2019-12-24 16:35   
Repository: retail/backports/3.0RR19Q4.1/org.openbravo.retail.posterminal
Changeset: c970e560266a339beedd642ed3614207903462b4
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 24 18:31:37 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q4.1/org.openbravo.retail.posterminal/rev/c970e560266a339beedd642ed3614207903462b4 [^]

Fixed issue 42599 : Location should be updated when changing Customer/Location

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