Odoo Help

2

How possible to make a module with offline capability (like POS, so users can work without a connection and have their transactions pushed to the server when they do have a connection).

By
Scatteril
on 3/27/16, 7:31 AM 1,271 views

hello.

I have an inconsistent internet connection . as well as I have nearly 15 transaction per hour . having that inconsistent internet connection is customer losing . Since I can do nothing about the connection , my best solution as far as I can see is to make the module partially offline . Same as what is used in POS . but I have really no Idea how to implement such function to my module since it is never been done before as far as my research told me at least for the projects that are available to be accessed .

So , What are your thoughts ?    

thank you for your time

0
Jerome Guerriat
On 10/7/16, 3:48 AM

I think the POS module only save sale order in the browser cache, which mean that if you refresh the page, sale orders will be lost.

If you want to achieve the same thing, you'd have to manage your datas in javascript. When you finish "something", send the datas to odoo. If you don't get a response, then store the data, and periodically try to send them to odoo until you succeed.

I think you should also create something that could export those data to something more reliable than browser cache. I did not think a lot about this, but being able to export your data to a CSV file for example could be great. If you lose your connection, you export what could not be synchronized with the server, and you'll be able to import them later :)    


0

I can not answer your question but I offer you visit this search by if he can find something related to your problem http://www.odoo-code-search.com/

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 3/27/16, 7:31 AM
Seen: 1271 times
Last updated: 10/7/16, 8:54 AM