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

Hi,

I have created a many2many relationship on the model res.partner under the field name x_m_role.

The related model is named x_partner_role_model and has one field x_role_name.

In my partner form view I added the following xml to make the new relationship available :

<field name="x_m_role" string="Roles" widget="many2many_tags"> </field>

I have only a trouble about the display of the records in the fields. I would like the x_role_name field value to be display, instead I have something like x_partner_role_model,1

How could I manage to get the value of the x_role_name to be displayed ?

Thanks for your help

Cheers

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

Great that solved my problem. Cheers

المنشورات ذات الصلة الردود أدوات العرض النشاط
4
يناير 24
23430
Attrs attribute تم الحل
2
يناير 24
2634
0
أغسطس 23
2400
5
سبتمبر 21
17756
3
يناير 21
17340