what happens if I am working in POS on PC and I suddenly lose an internet connection? If I close the POS, im screwed, so I keep it open and continue selling. But how does the POS know what items are in my stock? Does data store localy in browser? Or somewhere permanently on hard drive? What happens when I get an internet connection back, does the data sync (invoices and stock) ?
Yes, it's stored locally in js variable localStorage . Check addons/point_of_sale/static/src/js/db.js
If you lost internet connection and close browser, then transactions would be restored at the next session. But you have to open the same browser on the same computer and browser's cache should be there.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/13/15, 10:23 AM|
|Seen: 1503 times|
|Last updated: 3/17/15, 4:52 AM|