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

In odoo 8, in a list view, many2many fields would show the contents of the related fields, in odoo 11 this shows the legend 'n records' but it doesn't show the contents, how can I achieve this in odoo 11 ? thanks

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

Hello Nehemias,

 

its already work in standard Odoo V11,

Example: Product Variants Tree View (see below image)




==> in your case you should use below widget in your m2m filed.
<field name="x_many2_many" widget="many2many_tags"/>

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

Thank you for your answer

Does anyone know how to get this to work in Contacts list as well? Currently (Odoo 14) the contact list is showing just "1 records" instead of tags. In other apps it works well.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 18
5063
1
thg 7 21
4294
2
thg 7 18
10156
0
thg 12 23
1422
1
thg 5 23
2936