跳至内容
菜单
此问题已终结
1 回复
2239 查看

in sales module

形象
丢弃
最佳答案

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

形象
丢弃

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

相关帖文 回复 查看 活动
1
11月 24
1548
2
1月 23
1312
2
7月 25
573
1
7月 25
357
1
7月 25
357