Допомога

0

How can I synchronize local Odoo (client) installation with online (master) Odoo installation?

Avatar
Eman Abdulmalik

I am running a POS on Odoo locally for a supermarket and also there is a master server online with domain name and hosting.


What I want to do is make the users of the POS work offline on their localhost and with a schedule sync with the master server that is online.

Аватар
Відмінити
1 Відповідь
0
Avatar
Shadeau Young
Найкраща відповідь

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


Аватар
Відмінити