Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4 Trả lời
22985 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 1 25
2370
2
thg 12 22
1291
2
thg 9 22
10048
2
thg 4 22
4994
0
thg 7 21
7705