Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034025Retail ModulesStoreServerpublic2016-09-19 23:392016-09-25 11:47
mtaal 
mtaal 
normalminorhave not tried
closedno change required 
5
 
RR16Q3.3 
No
0034025: Remote BP data: bp of current order of orderlist not updated when changing BP
In case of remote BP when changing the BP the user interface is refreshed but the current order of the orderlist (OB.MobileApp.model.orderList.current) is not updated on time from OB.MobileApp.model.orderList.modelorder.

This is caused by async behavior. The copy of modelorder to current ([1]) happens before the bp has been changed ([2]).

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/200182f3db29/web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js#l579 [^]

[2]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/200182f3db29/web/org.openbravo.retail.posterminal/js/model/order.js#l2238 [^]
Set remote BP setting
Login into webpos
change the BP in webpos, put breakpoints in the code
check the values of the current/modelorder of the orderlist and their BP
copy the modelorder to current when the save on the server has happened
No tags attached.
blocks defect 0034024RR16Q4 closed mtaal Remote BP data: bp of current order of orderlist not updated when changing BP 
Issue History
2016-09-19 23:39mtaalTypedefect => backport
2016-09-19 23:39mtaalTarget VersionRR16Q4 => RR16Q3.3
2016-09-25 11:47mtaalNote Added: 0090224
2016-09-25 11:47mtaalStatusscheduled => closed
2016-09-25 11:47mtaalResolutionopen => no change required

Notes
(0090224)
mtaal   
2016-09-25 11:47   
This is not a serious issue and not a regression either. Therefore not backporting.