跳至内容
菜单
此问题已终结
1 回复
6336 查看

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
 

形象
丢弃
最佳答案

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/ 

形象
丢弃
相关帖文 回复 查看 活动
2
9月 25
175
0
11月 21
1757
1
9月 25
311
0
2月 25
794
1
7月 25
1375