Hello,
I want to hide some columns in sale order form depends to product selected.
I think i can use the product's xml_id like this : <field name="myfield" attrs="{'invisible': [('product_id', '!=', ref('product.my_product'))]}"/>
but i have an error :
NameError: name 'ref' is not defined
What is wrong with my attrs? There is another method to hide a field when a particular product is selected?
Thanks.