Skip to Content
Menú
This question has been flagged
1 Respondre
2387 Vistes

in sales module

Avatar
Descartar
Best Answer

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
Descartar

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

Related Posts Respostes Vistes Activitat
1
de nov. 24
1712
2
de gen. 23
1392
1
d’ag. 25
74
1
de jul. 25
597
2
de jul. 25
817