Hi!
I would like to know how can I create a data for the seeder please ?
- for one2many
- for many2many
Currently I have a data:
category.xml
<record id="category_1" model="product.category">
<fieldname="name">Category 1field>
product.xml
<record id="product_1" model="product.product">
<fieldname="name">Product 1field>
I would like to attach a category on product
And on the many2many relation, how can I create a seeder with insert id ?
Thank you so much for your help!