Friends,
I have to make a field invisible if the following conditions came,
cond1:the field file_type=Trademark
cond2:group=trademark_user
Is the following code is correct?
<field name="file_no_tm" attrs="{'invisible':['|',('file_type','!=','Trademark'),('groups','=','trademark_user')]}"/>
It cause the following error..
Uncaught Error: Unknown field groups in domain ["|",["file_type","!=","Trademark"],["groups","=","trademark_user"]]
Thanks