Hi folks, I'm trying to create some db records using xml and can't find any examples on how to create many2many relations. I want to do something like this:
<record model="product.product" id="product_1"> <field name="name">Product 1</field> <field name="product_component_ids" ref="component_id"/> </record>
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/1/14, 9:42 PM|
|Seen: 1465 times|
|Last updated: 6/29/15, 5:09 AM|