Gi,
I need to create a Blue Color T-shirt using webservice (RPC)
I can create the product,_template(T-shirt), the product_attribute_line (Color) the product_attribute_value (Blue).
But I can't create the Blue-color-TShirt. I can't update the field product_attribute_line.value_ids. I've tried to set it during the creation of a product_attribute_line record or after using a write method. Both didn't work.
What is the correct way to create the product variant using RPC in Odoo v9 ?