Community mailing list archives
community@mail.odoo.com
Browse archives
Re: POS with local storage on disconnected networks
Re: POS with local storage on disconnected networks
Re: POS with local storage on disconnected networks
byAre you a developer/making money implementing Odoo, or is your business the department store? I ask because I think I know how to make it work for everyone, but I have other work that doesn't involve the POS module, and I'm short on time to test... (Still, if it could be done, it would open up the POS app to a number of countries and I think that would be something pretty cool to be a part of...)
For instance, SQLite compiled to JavaScript through Emscripten, could give us all the offline storage we could need and solve the "no-gap" issue: when offline storage fills, sql.js dumps to a SQLite file, and clears the web storage... offline storage fills, again; sql.js dumps, again... Rinse and repeat, over and over... If the SQLite file approaches 500mb, sql.js starts a new one... When connection is finally restored, Odoo will start synchronizing the SQLite storage with the server, via the typical webworker/RPC calls...
I've already thought of a number of problems that could crop up with that approach―"500mb is a lot to upload", etc.―but I'm convinced they can be worked through... I've also thought of some tests...
If you think could help, and don't mind sharing the code, email me directly...
Ovnicraft:
"We assign each pos has its own sequence, this mitigate the risk about gaps."
What is this "sequence" you speak of? :-) Kidding... How to ensure the sequence is a nonce, so that when it's queried only one transaction displays?
R/S
Cody K
On Thu, Jun 16, 2016 at 12:56 PM, Nhomar Hernandez <nhomar@vauxoo.com> wrote:On Thu, Jun 16, 2016 at 10:07 AM, Carlos Paz <phoenixsampras@gmail.com> wrote:it CANNOT generate INVOICES offline.
Question:- How will you respect the No Gap Sequence of Invoices Being Off Line?.Good point,
We assign each pos has its own sequence, this mitigate the risk about gaps.At least it is an Stand Alone System, the Invoicing process must be On Line, I am agree with that.--Nhomar HernandezCEO Vauxoo.Site: http://vauxoo.comTwitter: @nhomarBlog: http://nhomar.comGithub User: https://github.com/nhomarOdoo Gold PartnerSkype: nhomar00 (Envia mail previo no lo superviso siempre).HangOut: nhomar@vauxoo.com_______________________________________________
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
Reference
-
POS with local storage on disconnected networks
bysales@autowash.me-
Re: POS with local storage on disconnected networks
byshivam dudhat, Shivam -
-
-
-
-
Re: POS with local storage on disconnected networks
byAYNI CONSULTORES 1792538289001 -
-
Re: POS with local storage on disconnected networks
byVauxoo S.A. de C.V., Nhomar Hernandez -
-
-