I'm searching to make invisible a field in XML view.
<field
name="field1"
attrs="{'invisible': [('field2', '=', False)]}"/>
This gives me the following error: TypeError: %u format: a number is required, not str
The stranger thing is that this happens only with some fields in condition