From 7a2e286e1273c181c965796bea48e1c820ae533d Mon Sep 17 00:00:00 2001 From: Munaf Khan Date: Tue, 20 Jul 2021 09:38:09 +0000 Subject: [PATCH] [FIX] crm_iap_lead: allow to edit 'contact_number' for failed requests Right now, for the lead mining request, `contact_number` field is only editable when the request is in draft state. However, like the most other fields, this one should be editable for the failed request so that user can decide how many contacts should be fetched before submitting the request again. This commit fixes the behavior by making `contact_number` field readonly for the successfully completed mining request only. TaskID-2605708 closes odoo/odoo#74121 X-original-commit: 479a6492f9d2a6991e880f4fc4ac425ea1a7e72a Signed-off-by: Thibault Delavallee (tde) --- addons/crm_iap_lead/views/crm_iap_lead_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/crm_iap_lead/views/crm_iap_lead_views.xml b/addons/crm_iap_lead/views/crm_iap_lead_views.xml index c71081b8cd6..9a8ee12bd3f 100644 --- a/addons/crm_iap_lead/views/crm_iap_lead_views.xml +++ b/addons/crm_iap_lead/views/crm_iap_lead_views.xml @@ -86,7 +86,7 @@
- + Extra contacts per Company