Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2238 Zobrazení

in sales module

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit

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

Related Posts Odpovědi Zobrazení Aktivita
1
lis 24
1548
2
led 23
1312
2
čvc 25
573
1
čvc 25
357
1
čvc 25
357