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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
4
回复
23029
查看
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 |
There is an OCA add-on for Odoo 8: https://apps.odoo.com/apps/modules/8.0/web_widget_one2many_tags/ and a paid one for v12: https://apps.odoo.com/apps/modules/12.0/oi_one2manytags/
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.