I have an application that has integration with Odoo database through Odoo API. My application has Mongodb database. Basically, we call Odoo API to get the employees from Odoo, add some fields to the employee object and store it in our monogodb database. My question is how to keep the syncing between our database and Odoo database if one of the two parties edit the employee details? Is cron job a good idea, so I can call the Odoo API every 10 sec or so and check if there are any changes and update my database?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
3113
Visualizações
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se