跳至内容
菜单
此问题已终结
4 回复
23029 查看

I can show a many2many relation in a tree view with the many2many_tags widget.
I can show a many2one relation in a tree view with the many2one_tags widget.
I cannot show a one2many relation in a tree view with a one2many_tags widget as that doesn't seem to exist.
I CAN use an inline definition for the tree view which will show me a count: 1 dataset, 2 datasets etc.
How does Odoo intend to display a one2many relation in a tree view?

形象
丢弃
编写者

Thank you, I'll give the free one a try! Is there a reason why this is not part of the platform? It seems basic to me.

Sorry, I don't know why! But I think you can use many2many instead if you really need the tags, maybe that's good enough in most cases.

编写者 最佳答案

OK, thanks! I didn't immediately realize that the many2many_tags widget works also in the one2many case. So now I'm content with using that one.

形象
丢弃
相关帖文 回复 查看 活动
1
1月 25
2406
2
12月 22
1291
2
9月 22
10075
2
4月 22
5027
0
7月 21
7731