Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038868Retail ModulesWeb POSpublic2018-06-29 14:482018-07-26 16:15
guilleaer 
guilleaer 
normalminorhave not tried
closedfixed 
5
 
RR18Q4 
marvintm
No
0038868: Asynchrony is not correctly managed in function setBPandBPLoc
following function
   var saveBP = function () {
defined inside function setBPandBPLoc, is not managing asynchrony correctly.

Both below instructions

OB.MobileApp.model.orderList.saveCurrent();
finishSaveData(callback);

should be executed in the callback of save.


First line of the function
 me.set('bp', businessPartner);
Also can generate internaly an asynchronous point.

We should think how to manage those scenarios.
N/A
No tags attached.
diff diffIssue38868.diff (1,648) 2018-06-29 15:45
https://issues.openbravo.com/file_download.php?file_id=11918&type=bug
Issue History
2018-06-29 14:48guilleaerNew Issue
2018-06-29 14:48guilleaerAssigned To => Retail
2018-06-29 14:48guilleaerTriggers an Emergency Pack => No
2018-06-29 15:28guilleaerFile Added: diffIssue38868.diff
2018-06-29 15:44guilleaerFile Deleted: diffIssue38868.diff
2018-06-29 15:45guilleaerFile Added: diffIssue38868.diff
2018-07-02 15:36javierRodriguezAssigned ToRetail => javierRodriguez
2018-07-02 16:14guilleaerAssigned TojavierRodriguez => guilleaer
2018-07-02 16:14guilleaerStatusnew => scheduled
2018-07-04 14:12hgbotCheckin
2018-07-04 14:12hgbotNote Added: 0105574
2018-07-04 14:12hgbotStatusscheduled => resolved
2018-07-04 14:12hgbotResolutionopen => fixed
2018-07-04 14:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/860691a86fbb5a739fcfa837201cea4df6ed2cf5 [^]
2018-07-26 16:15marvintmReview Assigned To => marvintm
2018-07-26 16:15marvintmStatusresolved => closed
2018-07-26 16:15marvintmFixed in Version => RR18Q4

Notes
(0105574)
hgbot   
2018-07-04 14:12   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 860691a86fbb5a739fcfa837201cea4df6ed2cf5
Author: Guillermo Alvarez de Eulate <guillermo.alvarez <at> openbravo.com>
Date: Wed Jul 04 14:12:36 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/860691a86fbb5a739fcfa837201cea4df6ed2cf5 [^]

Fixed issue 38868: Fix asynchrony point + add log when BP is set

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