跳至內容
選單
此問題已被標幟
1 回覆
2388 瀏覽次數

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
1712
2
1月 23
1393
1
8月 25
87
1
7月 25
628
2
7月 25
819