Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2737 Widoki

in sales module

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
1
lis 24
2126
2
sty 23
1675
1
wrz 25
498
2
wrz 25
602
3
wrz 25
614