From 20fff84b9d0e4d96a3a657965ae5e82a1e59f7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Hennecart?= Date: Wed, 29 Jan 2020 12:20:11 +0000 Subject: [PATCH] [IMP] crm(_iap_lead)(_enrich): improve default config Improve the default configuration on CRM for predictive lead in order to ease the onboarding. Modify text and install crm_iap_lead(_enrich) automatically if CRM and IAP are installed. task-2131056 closes odoo/odoo#44262 Signed-off-by: Thibault Delavallee (tde) --- addons/crm/views/res_config_settings_views.xml | 5 ++--- addons/crm_iap_lead/__manifest__.py | 3 ++- addons/crm_iap_lead_enrich/__manifest__.py | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/addons/crm/views/res_config_settings_views.xml b/addons/crm/views/res_config_settings_views.xml index 5b95c266932..eadfe78d483 100644 --- a/addons/crm/views/res_config_settings_views.xml +++ b/addons/crm/views/res_config_settings_views.xml @@ -58,11 +58,10 @@
Predictive Lead Scoring
- Let statistical analysis determine the probability to close a lead + The success rate is computed based on the stage, but you can add more fields in the statistical analysis.
- Fields used in probability computation: - +
diff --git a/addons/crm_iap_lead/__manifest__.py b/addons/crm_iap_lead/__manifest__.py index 86973093ac4..9ef73cca909 100644 --- a/addons/crm_iap_lead/__manifest__.py +++ b/addons/crm_iap_lead/__manifest__.py @@ -21,5 +21,6 @@ ], 'qweb': [ 'static/src/xml/leads_tree_generate_leads_views.xml', - ] + ], + 'auto_install': True, } diff --git a/addons/crm_iap_lead_enrich/__manifest__.py b/addons/crm_iap_lead_enrich/__manifest__.py index c164c500d10..09369e9beea 100644 --- a/addons/crm_iap_lead_enrich/__manifest__.py +++ b/addons/crm_iap_lead_enrich/__manifest__.py @@ -17,4 +17,5 @@ 'views/res_config_settings_view.xml', ], 'post_init_hook': '_synchronize_cron', + 'auto_install': True, }