跳至内容
菜单
此问题已终结
1 回复
4017 查看

how to run an action using action ID in Odoo 14 through web API. Here's an example of my code. The action Id of the create invoice button is 352 and I need to trigger that function. Can somebody please help me with it.

models.execute_kw(db, uid, password, 'sale.order', 352)


形象
丢弃
最佳答案

Turn on the appropriate logging and then watch the log file as you perform the Action as a User, so you can see exactly what call the browser is making to the server via the API:

https://www.odoo.com/forum/help-1/how-can-i-see-which-api-calls-are-made-to-learn-what-odoo-is-doing-at-specific-times-183911

形象
丢弃
相关帖文 回复 查看 活动
1
4月 24
1639
3
10月 23
7945
1
9月 21
3207
1
8月 22
4348
1
6月 25
2238