I have multiple categories of products. On one form I want to select product of type1 category and on other product of type2 category. My code is,
<field name="product_id" domain="[(product_id.product_id.name, '=', 'type1')]"></field>
But when i go to selection it says.
ValueError: Invalid field 'product_id.categ_id.name' in leaf "<osv.ExtendedLeaf: ('product_id.categ_id.name', '=', 'Tools') on product_product (ctx: )>"
No comments:
Post a Comment