Openbravo Issue Tracking System - Retail Modules
View Issue Details
0022401Retail ModulesWeb POSpublic2012-11-27 12:282012-11-27 18:08
marvintm 
marvintm 
urgentmajoralways
closedfixed 
5
 
RMP17 
No
0022401: Login offline does not work
Currently the login offline doesn't work. When the user enters his credentials, the application stays in the "loading phase"
After having logged online, disconnect the computer from the server, and attempt to log in offline.
No tags attached.
Issue History
2012-11-27 12:28marvintmNew Issue
2012-11-27 12:28marvintmAssigned To => marvintm
2012-11-27 12:49hgbotCheckin
2012-11-27 12:49hgbotNote Added: 0054541
2012-11-27 12:49hgbotStatusnew => resolved
2012-11-27 12:49hgbotResolutionopen => fixed
2012-11-27 12:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ec75eb2c629b5a17619e00686057b634e5fecea [^]
2012-11-27 18:08migueldejuanaNote Added: 0054551
2012-11-27 18:08migueldejuanaStatusresolved => closed

Notes
(0054541)
hgbot   
2012-11-27 12:49   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5ec75eb2c629b5a17619e00686057b634e5fecea
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Nov 27 12:48:41 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5ec75eb2c629b5a17619e00686057b634e5fecea [^]

Fixed issue 22401. Login offline works again. Three changes have been made:
- A new library has been added to the manifest
- The warehouses and writableOrganizations now are retrieved from the cached object
- The login flow will continue normally if we are offline (in that case, the customers and orders cannot be sent to the backend, but the login process should continue anyway)

---
M src/org/openbravo/retail/posterminal/templates/cache-manifest.ftl
M web/org.openbravo.retail.posterminal/js/model/terminal.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0054551)
migueldejuana   
2012-11-27 18:08   
Tested and reviewed in @4dd8e82f856e