Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5873 Prikazi

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 !


Avatar
Opusti
Best Answer

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()


Avatar
Opusti
Avtor

Ok thank you for your answer ! I have one more question, where can i access the confirm method ?

Related Posts Odgovori Prikazi Aktivnost
0
sep. 23
1844
0
sep. 23
1538
2
jun. 25
10948
6
okt. 23
21796
3
mar. 24
9251