Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2542 Lượt xem

in sales module

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 24
1883
2
thg 1 23
1520
3
thg 9 25
298
3
thg 8 25
398
4
thg 8 25
1559