Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032389Retail ModulesWeb POSpublic2016-03-02 14:572016-03-16 18:56
migueldejuana 
migueldejuana 
normalminorhave not tried
closedfixed 
5
 
RR16Q2 
marvintm
No
0032389: code bugs
- We are using in mobile.core posterminal messages:
OB.UTIL.showI18NSuccess('OBPOS_SynchronizationWasSuccessfulMessage', 'OBPOS_SynchronizingDataMessage');

- Check if it is defined before clear localStorage, it affects to warehouse:
if (window.localStorage.getItem('loggedTerminalName') && (window.localStorage.getItem('loggedTerminalName') !== OB.MobileApp.model.get('terminalName'))) {
Check the code
No tags attached.
Issue History
2016-03-02 14:57migueldejuanaNew Issue
2016-03-02 14:57migueldejuanaAssigned To => migueldejuana
2016-03-02 14:57migueldejuanaTriggers an Emergency Pack => No
2016-03-04 04:06hgbotCheckin
2016-03-04 04:06hgbotNote Added: 0084699
2016-03-04 04:06hgbotStatusnew => resolved
2016-03-04 04:06hgbotResolutionopen => fixed
2016-03-04 04:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2e8ab18ca80da80ecd528ab65eb7e6118a52265a [^]
2016-03-04 10:29migueldejuanaReview Assigned To => Orekaria
2016-03-16 18:56marvintmReview Assigned ToOrekaria => marvintm
2016-03-16 18:56marvintmStatusresolved => closed
2016-03-16 18:56marvintmFixed in Version => RR16Q2

Notes
(0084699)
hgbot   
2016-03-04 04:06   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 2e8ab18ca80da80ecd528ab65eb7e6118a52265a
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Mar 03 18:21:56 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/2e8ab18ca80da80ecd528ab65eb7e6118a52265a [^]

Fixed issue Fixed issue 0032389: code bugs

- Use mobile.core messages
- In warehouse for example we do not have a terminal. Skip that case

---
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
M web/org.openbravo.mobile.core/source/utils/ob-synchronization.js
---