-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting XML_ID for materialized relations #34
Comments
I was trying to use this script on v15, i tried to import products with variants, but also stuck at this new relationship field import. Maybe somebody could share how this can be done? |
Not having a solution here but just a bit of info as I was struggling with this quite much using normal import. What I did is first importing product.template.attribute.line records like this:
This assigns attribute to product.template and creates 2 product.template.attribute.values as possible options (attr_cooling:water and attr_cooling:air are external identifiers of attribute values). I the exported created product.template.attribute.value records into Excel to have lookups. The I import attribute_line_ids for product.template using those lookups. I guess you could import the separately like this:
And then import attribute_line_ids using external identifiers. Hope this makes sense and I didn't screw up describing it... |
Hello, I've been using odoo_csv_import successfully with a v14 database.
One issue I'm haivng is how to set the xml_id on a materialized relationship - product_template_attribute_value.
This is a new object since v13 and is created by the product_template_attribute_line (also a new object) and so I am not seeing how to set this xml_id so that I can reference it later.
Maybe I am missing something obvious?
Thanks.
The text was updated successfully, but these errors were encountered: