Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
2310 Visninger

in sales module

Avatar
Kassér
Bedste svar

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
Kassér

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

Related Posts Besvarelser Visninger Aktivitet
1
nov. 24
1649
2
jan. 23
1364
1
jul. 25
457
2
jul. 25
712
1
jul. 25
529