コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1351 ビュー

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?


アバター
破棄
最善の回答

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

アバター
破棄
著作者

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.

関連投稿 返信 ビュー 活動
3
2月 25
1638
1
12月 24
1830
2
3月 24
2182
2
3月 24
2703
0
9月 23
1328