Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2943 Tampilan

in sales module

Avatar
Buang
Jawaban Terbai

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
Buang

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

Post Terkait Replies Tampilan Aktivitas
1
Nov 24
2372
2
Jan 23
1810
1
Okt 25
400
2
Okt 25
326
0
Okt 25
1117