Hi guys I am having a problem with attrs tags not working.
I defined it this way:
pseudo code:
'readonly':[('many2one_field','=','function.field(type='integer')]'
real code:
<field name="product_id" attrs="{'readonly':[('warehouse_id','=','user_permission')]}"/>
Function field is right above this field so it is created and it returns {id:value}.
What am I doing wrong?