Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1338 Vistas

Hello, I'm a little new to Odoo and I'm working on an integration between Odoo 14 and a legacy system that uses Access 97.  Our plan is to get away from this Access system completely.

I'm trying to execute some Python code that will insert data from a Sales Order into multiple tables in the Access database.

Would I use a Server Action or Automated Action for this?  I'm having a little trouble figuring out how the Server Action works so it will run on create.

Can someone point me in the right direction?


Avatar
Descartar
Mejor respuesta

Hi,
You can design the system as follows:

* run a scheduled action that runs in specific time interval
* call a function from this scheduled action, which will fetch the data from legacy system and create records in odoo

You can follow above pattern or:

* from the legacy system side
* on creation or updation of records there, you can trigger an action in odoo via xml rpc to create records in odoo

Thanks

Avatar
Descartar
Autor

Thanks for responding. I actually wanted the data to flow the other way from Odoo to Access. I figured out how to install the base_automation module to create Automated Actions on create of a Sales Order. I will continue looking into that.

Publicaciones relacionadas Respuestas Vistas Actividad
3
feb 25
1601
1
dic 24
1810
2
mar 24
2144
2
mar 24
2677
0
sept 23
1320