[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) <tde@openerp.com>
This commit is contained in:
Jérémy Hennecart
2020-02-13 08:00:22 +00:00
parent aee95865bb
commit 20fff84b9d
3 changed files with 5 additions and 4 deletions
@@ -58,11 +58,10 @@
<div class="o_setting_right_pane">
<b>Predictive Lead Scoring</b>
<div class="text-muted">
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.
</div>
<div class="mt16">
Fields used in probability computation:
<field name="predictive_lead_scoring_fields" class="oe_inline" widget="many2many_tags"/>
<field name="predictive_lead_scoring_fields" class="oe_inline" widget="many2many_tags" placeholder="Extra fields..."/>
<field name="predictive_lead_scoring_fields_str" invisible="1"/>
</div>
<div class="mt16">
+2 -1
View File
@@ -21,5 +21,6 @@
],
'qweb': [
'static/src/xml/leads_tree_generate_leads_views.xml',
]
],
'auto_install': True,
}
@@ -17,4 +17,5 @@
'views/res_config_settings_view.xml',
],
'post_init_hook': '_synchronize_cron',
'auto_install': True,
}