跳至内容
菜单
此问题已终结
2 回复
3077 查看

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?

相关帖文 回复 查看 活动
1
5月 24
3049
1
4月 24
26622
1
11月 22
2551
2
7月 22
3241
0
1月 22
2256