Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042600Retail ModulesWeb POSpublic2019-10-01 17:432019-12-25 21:19
kchoperena 
rqueralta 
highcriticalalways
closedfixed 
5
 
RR19Q3.2RR19Q3.2 
guilleaer
No
0042600: 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 42600 source posterminal.patch (2,228) 2019-12-24 14:03
https://issues.openbravo.com/file_download.php?file_id=13728&type=bug
Issue History
2019-12-18 16:38marvintmTypedefect => backport
2019-12-18 16:38marvintmTarget Version => RR19Q3.2
2019-12-24 14:03ranjith_qualiantech_comFile Added: issue 42600 source posterminal.patch
2019-12-24 16:36hgbotCheckin
2019-12-24 16:36hgbotNote Added: 0116521
2019-12-24 16:36hgbotStatusscheduled => resolved
2019-12-24 16:36hgbotResolutionopen => fixed
2019-12-24 16:36hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e05daa1f380293e80c3fd810097572f53ebd7b42 [^] => http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal/rev/c586aeb0fa5b22f4fe3a29beaa5d387599c21e0e [^]
2019-12-25 21:19guilleaerReview Assigned Tomarvintm => guilleaer
2019-12-25 21:19guilleaerStatusresolved => closed
2019-12-25 21:19guilleaerFixed in Version => RR19Q3.2

Notes
(0116521)
hgbot   
2019-12-24 16:36   
Repository: retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal
Changeset: c586aeb0fa5b22f4fe3a29beaa5d387599c21e0e
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Dec 24 18:31:48 2019 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR19Q3.2/org.openbravo.retail.posterminal/rev/c586aeb0fa5b22f4fe3a29beaa5d387599c21e0e [^]

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

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