Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
17950 Näkymät

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

Avatar
Hylkää
Paras vastaus

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:

Avatar
Hylkää

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

Once again thank u

Paras vastaus

Thanks

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
0
maalisk. 15
4305
1
tammik. 25
1769
2
syysk. 24
7996
2
huhtik. 23
8599
1
marrask. 22
2564