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 ?
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
0
9월 23
|
2043 | ||
|
0
9월 23
|
1758 | ||
|
2
6월 25
|
11273 | ||
|
6
10월 23
|
22120 | ||
|
3
3월 24
|
9549 |