Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
3144 Weergaven

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 .?

Avatar
Annuleer
Beste antwoord

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.

Avatar
Annuleer
Auteur

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?

Beste antwoord

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

Avatar
Annuleer
Auteur

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?

Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 24
3174
1
apr. 24
26796
1
nov. 22
2616
2
jul. 22
3330
0
jan. 22
2322