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

Is it possible to change the icon on a button field in a view depending on the value of another filed.

<xpath expr="//tree/field[@name='name']" position="after">
<button icon="fa-file-text-o" name="action_edit_note" type="object"
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
</xpath>
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 15
5379
4
thg 1 24
23240
Attrs attribute Đã xử lý
2
thg 1 24
2545
0
thg 8 23
2348
2
thg 3 23
10172