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

Hi, I need to show a hiden field like this:



I think about xpath but I don't find the correct way, hope you can help me, thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

the code is this:

<field name="origin" attrs="{'invisible': [('origin', '=', False)]}"/>

Câu trả lời hay nhất

If this field is from any odoo base module, you can enable debug mode go to the specific form and from debug option "edit form view" you can edit the field.

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

Dear David,

Create a custom module and past the below code

    


Thank you

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 21
8869
2
thg 6 20
5958
1
thg 10 19
4873
1
thg 3 15
14149
2
thg 3 15
5005