I have a field which I would like present only for certain country:
<field name="org_no" attrs="{'invisible':[('country_id','!=','Sweden')]}"/>
country_id is default for 7.0:
country_id: fields.many2one('res.country', 'Country')
I understand that somehow I need to perform the search first - self.pool.get('res.country').search. But how to do it in a view?