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:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
4
Odpowiedzi
22702
Widoki
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.
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
sty 25
|
1943 | ||
widget many2many_list not working v13
Rozwiązane
|
|
2
gru 22
|
1291 | |
|
2
wrz 22
|
9683 | ||
|
2
kwi 22
|
4730 | ||
|
0
lip 21
|
7353 |
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.