Community mailing list archives
Re: POS with local storage on disconnected networksby
I was hoping that the local storage would be on Postgres database and not browser. (That is what many others companies do)
Does odoo have anything for pos local storage synchronization?
On Tuesday, June 21, 2016, Levent Karakas <firstname.lastname@example.org> wrote:
I think this struggle is a dead end. Losing any single record of an issued invoice cannot be tolerated for such an offline task, so you need a persistent storage. (For example pyhsical credit card POS devices can work offline and they are designed not to lose data when electrics are gone.) On the other hand, a browser's local storage is not persistent (http://stackoverflow.com/a/9729004). If something goes wrong with the browser or someone clears the cache intentionally, there might be no way of recovering this or recovering can be economically inefficient.I see few possibilities here which is likely to work:1) Use it online. Your server will be safe and get things done all synchronized.2) Integrate it with a physical devices such as POS device, Cash register or probably Posbox. Keep invoice data on pyhsical device and get it synchronized with the server from there. You can use different series (prefix) on each device so that you don't need the second random number.3) Use a cache server on POS site which will help POS locations with numbering and provide persistent storage which can be synchronized with server. You can again use different series (prefix) on each device or cache server.2016-06-21 7:56 GMT+03:00 Cody Kitterman <email@example.com>:Nhomar:
That tells me next to nothing, such as how many Odoo POS transactions will fit within 5-10mb, and so now you're just being a smart ass... :-) I was wanting to know how many transactions/buckets I have to account for without testing...
Still, I might be overthinking it... We'll see...
Cody K.On Tue, Jun 21, 2016 at 12:42 AM, Nhomar Hernandez <firstname.lastname@example.org> wrote:On Mon, Jun 20, 2016 at 11:27 PM, Cody Kitterman <email@example.com> wrote:Thank you, sir! And do we have any idea as to how many transactions local storage will hold? And do we have any idea as to what's typically behind users losing connectivity in the first place?
http://stackoverflow.com/questions/2989284/what-is-the-max-size-of-localstorage-valuesresuming: 10 mb--