Skip to Content
Menu
This question has been flagged
1 Reply
2585 Views

in sales module

Avatar
Discard
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
Discard

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

Related Posts Replies Views Activity
1
Nov 24
1968
2
Jan 23
1571
2
Sep 25
379
3
Sep 25
477
3
Sep 25
534