Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6470 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
set 25
364
0
nov 21
1853
1
set 25
492
0
feb 25
876
1
lug 25
1521