Odoo 11 One2many and many2many field understanding
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.