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

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

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

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:

Ảnh đại diện
Huỷ bỏ

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

Once again thank u

Câu trả lời hay nhất

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
4304
1
thg 1 25
1765
2
thg 9 24
7989
2
thg 4 23
8593
1
thg 11 22
2561