I have check this issue, an ORM is design to work like that because when you apply attrs="{'invisible': [('field_xyz', '=', 'blah')]}"
and states="assigned" , ORM convert them to Modifier like {'invisible':[['field_xyz','=', 'blah'],['state','not in' ,['assigned']]] , so your button only invisible if both condition are satisfied , if you wish to make button invisible if either of one condition is satisfied then you can use like attrs="{'invisible':['|',('field_xyz','=', 'blah'),('state','not in' ,['assigned'])] }".
Hello Numérigraphe,
I have check this issue, an ORM is design to work like that because when you apply attrs=" {'invisible' : [('field_xyz', '=', 'blah')]}" :[['field_ xyz','= ', 'blah'] ,['state' ,'not in' ,['assigned']]] , so your button only invisible if both condition are satisfied , if you wish to make button invisible if either of one condition is satisfied then you can use like attrs=" {'invisible' :['|',( 'field_ xyz','= ', 'blah') ,('state' ,'not in' ,['assigned'])] }".
and states="assigned" , ORM convert them to Modifier like {'invisible'
So i close this issue.
Thank You.