← Back to team overview

credativ team mailing list archive

[Bug 897499] Re: [6.1] Point of Sales result in XmlHttpRequestError when offline

 

I have come across the html5 method to overcome this issue using an "offline.manifest" file combined with a local database, see:
http://ajax.sys-con.com/node/1643966/mobile and http://www.w3.org/TR/offline-webapps/

I do realize we would need at least two "offline.manifest" files - one
for the application and a simple one for the product images the way
things are designed currently.

This might be a somewhat different approach than what has been used so far, but it is working mostly in any browser:
see: http://caniuse.com/
http://caniuse.com/offline-apps 
http://caniuse.com/dataset
http://caniuse.com/namevalue-storage
http://caniuse.com/sql-storage (not yet working in Firefox)
http://caniuse.com/json
http://caniuse.com/webworkers

I have not had much time to look at this, and you might already have a
better approach? Having the POS able to gracefully handle offline mode
and synchronize the data afterward is a stated goal on
http://www.openerp.com/products/pos and something I am sure will be a
huge selling point!

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/897499

Title:
  [6.1] Point of Sales result in XmlHttpRequestError when offline

Status in OpenERP Addons (modules):
  Triaged

Bug description:
  I have installed the new OpenERP 6.1 Beta through the nightly build of Nov 23rd on a virtual server. 
  According to Point of Sales page (http://www.openerp.com/products/pos), the system should work even in offline mode and synchronize when the connection goes up again. 

  This is what I have done: 
  0)
  Install "openerp-6.1dev-20111123-020001.tar.gz"  on a virtual server. 
  Go to the ipaddress using port 8069 using Firefox 8.0
  Setup the system with "generic accounts". Click to install the POS system.
  Start and go into the POS system.
  1) go to the Virtual Server manager and click "Pause".
  2) Add a number of items to the list.
  3) Click  "Cash Journal - (test)"
  4) Click "Validate"

  You will now notice it start loading a page in background, when this fails we see a large pop-up windows stating:
  "XmlHttpRequestError"

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/897499/+subscriptions


References