Salam,
How can I make one button with 2 choices . When user click on the button the 2 choices appear then the user select one of them .?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Salam,
How can I make one button with 2 choices . When user click on the button the 2 choices appear then the user select one of them .?
When the button is clicked, call a wizard which displays two options in a dropdown. Based on the option selected, you can call the method defined in the main class (in .py file).
For reference you can check convert lead to opportunity related code, where you can find multiple options while converting.
Thank you for your solution. Is it possible with a solution like the "Actions" button that exists in the header of any form view and offers more than one action to the user?
Hi,
Return a wizard from the button, then you can display your choices inside the wizard and then user can select from it and continue.
Return wizard from button:https://www.youtube.com/watch?v=QpzBdLWEWsE
Thanks & Regards
Thank you for your solution. Is it possible with a solution like the "Actions" button that exists in the header of any form view and offers more than one action to the user?
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 | |
---|---|---|---|---|
|
1
thg 5 24
|
2117 | ||
|
1
thg 4 24
|
25346 | ||
|
1
thg 11 22
|
2046 | ||
|
2
thg 7 22
|
2591 | ||
|
0
thg 1 22
|
1907 |