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 ?
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
Registrati| Post correlati | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
|
0
set 23
|
2837 | |||
|
0
set 23
|
2531 | |||
|
2
giu 25
|
12174 | |||
|
6
ott 23
|
23490 | |||
|
3
mar 24
|
10562 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.