تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
13876 أدوات العرض

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

الصورة الرمزية
إهمال
أفضل إجابة

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"/>

الصورة الرمزية
إهمال
الكاتب

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.

المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يناير 18
5019
1
يوليو 21
4248
2
يوليو 18
10140
0
ديسمبر 23
1405
1
مايو 23
2909