Community mailing list archives

community@mail.odoo.com

Re: POS with local storage on disconnected networks

by
Cody Kitterman
- 06/22/2016 15:34:35

Nhomar:


If I'm not mistaken it could be saved/loaded without prompt via retainEntry/restoreEntry, etc.


Nay sayers:
     https://www.youtube.com/watch?v=NOCx4D7KoGo ;-P


R/S
Cody K.

On Wednesday, June 22, 2016, Carlos Paz <phoenixsampras@gmail.com> wrote:
Aside of browser local storage, Odoo doesn't have such kind of solution, Odoo Pos is very rudimentary, as pointed by Nhomar they used SAP for such 150 stores.

On Tue, Jun 21, 2016 at 7:02 AM, Car Wash Sales <sales@autowash.me> wrote:

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 <levent@mektup.at> 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 <ckitterm@gmail.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...

Regards,
Cody K.



On Tue, Jun 21, 2016 at 12:42 AM, Nhomar Hernandez <nhomar@vauxoo.com> wrote:

On Mon, Jun 20, 2016 at 11:27 PM, Cody Kitterman <ckitterm@gmail.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-values

resuming: 10 mb


--
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

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe