Skip to Content
Menu
This question has been flagged

Hi all,


I need to push-syncronize our master Products list data from Odoo 13 Enteprise, to another server that's hosting Odoo 13 Community which has multiple databases. All the databases on community need to receive this sync (there are 8-12 databases in total, and will increase over time).


The purpose is for each Odoo Community database to have a complete and updated Inventory to easily develop the Odoo Website and E-commerce from, for each database.


The data synced should include old and new SKU's, Stock lots and inventory values (current and incoming), as well as categories and images for the e-commerce to function.


Also, the Push Sync should operate regardless of what happens on the Odoo Community version. For example, if Odoo Enteprise originally had 10 units of ABC, and a database of Odoo Community receives an order for 5 units of ABC - unless that order is manually submitted to the Odoo Entperise database this number should reset to 10 during the next sync as whatever happens on Odoo community does not "matter". It's only once the order transfers to the parent (Odoo Enteprise source) should this data update be reflected.

What's a good way to do this?

Avatar
Discard
Best Answer

Hi,

For this, first of all make sure that everything is feasible and its okay to do it. To achieve this, you have to build a module to synchronization purpose, which will contain an scheduled action which executes in a particular interval and trigger the syncing functionality.

Once you create the scheduled action, the sync functionalist  can be done using the Odoo XMLRPC or using the Odoo RPC python package by any of them, you can connect to odoo database from code and perform the necessary operation.


See this examples:


1. OdooRPC: Connect To Odoo Database and Perform All Operations

2. Odoo XMLRPC : Connect Odoo With External Applications

3. Transfer Data Between Databases Using XMLRPC In Odoo : Database Migration


Thanks

Avatar
Discard
Related Posts Replies Views Activity
3
May 24
27684
0
Jan 23
1688
0
Jan 21
1060
0
May 16
3
1
Sep 24
2485