Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
17963 มุมมอง

Hi,
I was trying to include a one2many field in a tree view. But when I tried, the field shows the number of records in that field. So I used widget='on2many_list' and widget='many2many_tags', both of them shows the ids of the records. What I need is to show is  the name of the records. Is there any solutions for this.

Thanks in advance

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hiii Linto,

In odoo 10 ,if you add one2many field in tree view and assign widget="manymany_tags" than you can show name of the record.
I have attached an image as example:

อวตาร
ละทิ้ง

thanks a lot , it works , but the widget name is ""many2many_tags" not manymany_tags.

Once again thank u

คำตอบที่ดีที่สุด

Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4313
1
ม.ค. 25
1809
2
ก.ย. 24
8014
2
เม.ย. 23
8614
1
พ.ย. 22
2583