diff --git a/crm_job_position/views/crm_lead_view.xml b/crm_job_position/views/crm_lead_view.xml index 082be11e6..0ed1cfd46 100644 --- a/crm_job_position/views/crm_lead_view.xml +++ b/crm_job_position/views/crm_lead_view.xml @@ -8,7 +8,8 @@ - + @@ -48,7 +49,8 @@ - + diff --git a/crm_job_position/views/res_partner_view.xml b/crm_job_position/views/res_partner_view.xml index 9c3e26250..21d94f624 100644 --- a/crm_job_position/views/res_partner_view.xml +++ b/crm_job_position/views/res_partner_view.xml @@ -10,8 +10,15 @@ + attrs="{'invisible': [('is_company','=', True)]}" + options='{"no_open": True}'/> + + +