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 ?
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
0
thg 9 23
|
2839 | |||
|
0
thg 9 23
|
2532 | |||
|
2
thg 6 25
|
12179 | |||
|
6
thg 10 23
|
23491 | |||
|
3
thg 3 24
|
10564 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.