Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6484 Lượt xem

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
 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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/ 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
371
0
thg 11 21
1864
1
thg 9 25
510
0
thg 2 25
879
1
thg 7 25
1528