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
Discard
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
Discard