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
回覆
22977
瀏覽次數
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
|
2365 | ||
|
2
12月 22
|
1291 | ||
|
2
9月 22
|
10047 | ||
|
2
4月 22
|
4990 | ||
|
0
7月 21
|
7702 |
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.