|
|
@ -5,7 +5,7 @@ |
|
|
|
<field name="name">res.partner.view.form.inherit</field> |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_partner_form" /> |
|
|
|
<field name="priority">82</field> |
|
|
|
<field name="priority">18</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<field name="state_id" position="attributes"> |
|
|
|
<attribute name="attrs">{'readonly':[('country_department_id','!=',False)]}</attribute> |
|
|
@ -21,7 +21,7 @@ |
|
|
|
<field name="name">res.partner.view.search.inherit</field> |
|
|
|
<field name="model">res.partner</field> |
|
|
|
<field name="inherit_id" ref="base.view_res_partner_filter" /> |
|
|
|
<field name="priority">82</field> |
|
|
|
<field name="priority">18</field> |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<filter name="country_department_groupby" position="after"> |
|
|
|
<filter name="state_groupby" string="State" context="{'group_by': 'state_id'}" /> |
|
|
|