Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2401 Vues

in sales module

Avatar
Ignorer
Meilleure réponse

Hi HeGo22, 

If you want to hide button based on field's value(If it has value then invisible the button if not then it should show that button) you can add the attribute on that button like below

Please find code in comment. 

I hope this will be helpful.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Ignorer

Example:
<button name="create_request_pricing" String"Create request Pricing" attrs="{'invisible': [('field_name', '!=', False)]}""

Publications associées Réponses Vues Activité
1
nov. 24
1737
2
janv. 23
1400
1
août 25
213
1
juil. 25
677
2
juil. 25
847