i want to display a customized field "wilaya" depending the value of another field "country_id" in the view base.view_partner_form
my code is :
<field name="wilaya" attrs="{'invisible': [('country_id','!=', 'Algeria')] }"/>
but the condition doesn't work. need help please
How to visible and invisible fields in odoo
https://goo.gl/BCxCpk