Community Mailinglisten Archive


Re: POS with local storage on disconnected networks

Cody Kitterman
- 22.06.2016 17:19:30
     I've been busy, and so I still have to think it over some more, but off the top of my head:  the server would pass a SALT when the user logs in, which in turn would be used to generate the random "ticket number" (or nonce) ―tricky, maybe, but certainly doable. (Not sure how Odoo's producing session_id's, but maybe it could be hashed with a timestamp and used instead...) Now, the ticket numbers might be god-awfully long, but if it could be hidden behind a barcode on the customers copy.... :-) As far as the conversor, I'm wondering if a web worker couldn't just read it back through when the connection is restored.

In closing, I'll have to think about it some more, but what I do know is that IF sql.js works as advertised, it would be game changer.

Cody K.

On Wed, Jun 22, 2016 at 3:42 PM, Nhomar Hernandez <> wrote:

On Wed, Jun 22, 2016 at 2:36 PM, Cody Kitterman <> wrote:

It sounds promising. But is very alpha AND, remember when you work with localstorage we need to create the algorithm twice server-client side at leas you use node.js or some python-js conversor (which is out of scope now I think).

It is not just a matter of lib, but yes this can solve partially the problem and sound promising.

Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942

Post to: