Suppose I have Product with 3 Variation
Suppose i name attribute_name as ' KG' and have 3 variation 1,5,10
How do i reference the value of variation in sale order ?
i have try these but it doesn't work
self.product_id.attribute_value_ids.attribute_id.value_ids.name
it gives me this error
File "/odoo/odoo-server/odoo/models.py", line 4823, in ensure_one raise ValueError("Expected singleton: %s" % self) ValueError: Expected singleton: product.attribute.value(6, 7, 9)
as i need these value to multiply with ordered quantity to give out total quantity
what else can it goes wrong ?