Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4073 Lượt xem

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)


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 24
1795
3
thg 10 23
8064
1
thg 9 21
3252
1
thg 8 22
4399
1
thg 6 25
2331