Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4287 Tampilan

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)


Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Apr 24
2055
3
Okt 23
8324
1
Sep 21
3449
1
Agu 22
4576
1
Jun 25
2528