Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
17819 Представления

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
4261
1
янв. 25
1655
2
сент. 24
7920
2
апр. 23
8487
1
нояб. 22
2488