Skip to Content
Menu
This question has been flagged

Hello ALL,

How do i create a Oney2many and many2many  field in Odoo 11 where i will be able to create category and also be able to select from category and subcategories. i want these field to relate with each others. Category and Subcategories.

Please i need an examples because i'm new to odoo i'm unable to understand the Documentation well.

Thanks.

Avatar
Zrušiť
Best Answer

It's kinda hard to decipher what it is you are trying to accomplish but it sounds like you want to create a
parent/ child construction for your categories. 

Odoo already does that for product categories, I'd suggest going through the code that Odoo uses to create these categories for inspiration.


If this is not what you are looking for then I would like to ask if you could give an example of the categories you want to build in Odoo.

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
jún 20
4075
2
dec 19
6580
1
jún 18
9127
1
júl 22
4977
1
jan 22
18618