Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
17795 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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:

Awatar
Odrzuć

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

Once again thank u

Najlepsza odpowiedź

Thanks

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
4251
1
sty 25
1618
2
wrz 24
7897
2
kwi 23
8466
1
lis 22
2466