This question has been flagged
1 Reply
4805 Views

Hi everyone,

Couple of questions to further understand the functionality of odoo's POS;

1. Would like to understand how long can odoo's POS system stores offline transaction for ?
2. Will the data/transaction be automatically deleted after a couple of days/weeks/months?
3. Accidentally closing the POS tab will that also means that we will loose all cache history?

Thank you
 

Avatar
Discard
Best Answer

odoo store POS data in browser local storage. 

1. Would like to understand how long can odoo's POS system stores offline transaction for ?
     POS offline data stored in browser local storage. it does not automatically delete/clean
 ​   ​    ​   ​     ​   ​    ​   ​      ​   ​    ​   ​     ​   ​    ​   
​2. Will the data/transaction be automatically deleted after a couple of days/weeks/months?
    No, data not automatically deleted periodically. you have to explicitly clean data if you want
 
3. Accidentally closing the POS tab will that also means that we will loose all cache history?​
    No, you don't lose data if you close the browser tab accidentally.

local storage is persistent data storage up to 5MB (limit very dependent on a browser) per domain.

ref :https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
https://blog.logrocket.com/the-complete-guide-to-using-localstorage-in-javascript-apps-ba44edb53a36/ 

Avatar
Discard