diff options
| author | David Beguin <dbe@odoo.com> | 2019-09-23 12:07:22 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2019-09-25 14:42:31 +0000 |
| commit | da87a63d63f0d3f7ae2edebb361bc25fbff21504 (patch) | |
| tree | 23a6180096daafc36e0375f58d2d96b3fdadf131 /addons/crm/data/crm_lead_prediction_data.xml | |
| parent | 25a299dfc1c371d19b1700337ea378c16bf3f16b (diff) | |
[FIX-IMP] crm : remove probability default value and modify default pls start date
This commit
- removes probability default value in order to activate
Bayes predictive lead scoring by default
- set the default pls start date to today - 8 days
to include all demo data in PLS computation
Task ID: 2044539
PR #37413
Diffstat (limited to 'addons/crm/data/crm_lead_prediction_data.xml')
| -rw-r--r-- | addons/crm/data/crm_lead_prediction_data.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/crm/data/crm_lead_prediction_data.xml b/addons/crm/data/crm_lead_prediction_data.xml index 42a2e8e34d9..a437956d0fc 100644 --- a/addons/crm/data/crm_lead_prediction_data.xml +++ b/addons/crm/data/crm_lead_prediction_data.xml @@ -26,7 +26,7 @@ </record> <record id="crm_pls_start_date_param" model="ir.config_parameter"> <field name="key">crm.pls_start_date</field> - <field name="value" eval="DateTime.now().strftime('%Y-%m-%d')"/> + <field name="value" eval="(datetime.now() - timedelta(days=8)).strftime('%Y-%m-%d')"/> </record> </data> |
