Odoo Help


In the event of a network failure, what technology is used to store local data (ie purchases) in the POS module?

Nicholas Riegel
on 4/1/13, 3:30 PM 1,636 views

This question is primarily asked to figure out the best practices for what to do during a network access failure for the point of service module. If the network goes down, how well will the POS work? It seems to store purchases locally and then a user is able to validate the purchases once network access is reestablished.

Where is this data stored? Does it use javascript variables in the web browser? Does it use HTML5 storage? Does it use another storage technology? What happens if the browser is closed?

How long will this data persist? How many off network purchases can be performed (how much data can be stored)?

How does a network access failure effect other modules?

Mike Telahun
On 4/2/13, 2:24 AM

The POS module in 7.0 (and probably 6.0 and 6.1) uses LocalStorage, which is a feature supported by most modern browsers that allows the application to store persistent data. This data stays on the computer until either 1) the application deletes it or 2) the user deletes it. So, it is persistent across sessions, reboots, crashes, etc. Most browsers use the browser cache for this data, so unless you delete the cache it should always be available. The size of the LocalStorage is determined by the Browser, but it's usually around 5 MB.

The POS module loads all the data it needs, such as Products, at the beginning of the session, and as you make sales the data is transmitted to the OpenERP server. If you lose connectivity, the data is stored in LocalStorage and the POS will try to resend it periodically. When you regain connectivity the sales data stored in LocalStorage will be transmitted to the OpenERP server.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 4/1/13, 3:30 PM
Seen: 1636 times
Last updated: 4/13/15, 2:00 AM