Hello,
I want to execute a Server Action when the button to confirm sale is clicked.
Is it possible to do so ? Through Graphical Interface ?
In Odoo 9
Thanks you !
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
I want to execute a Server Action when the button to confirm sale is clicked.
Is it possible to do so ? Through Graphical Interface ?
In Odoo 9
Thanks you !
Yes, you can do it. You need to call the run function of "ir.actions.server" object from the confirm method.
Ex:
self.env.ref('module_name.xml_id_of_server_action').run()
Ok thank you for your answer ! I have one more question, where can i access the confirm method ?
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
0
Sep 23
|
1439 | ||
|
0
Sep 23
|
1208 | ||
|
2
Feb 23
|
10434 | ||
How to edit the product website description
Diselesaikan
|
|
6
Okt 23
|
21155 | |
|
3
Mar 24
|
8786 |