summaryrefslogtreecommitdiff
path: root/addons/crm/data/crm_lead_prediction_data.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-10-09 02:08:17 +0200
committerChristophe Simonis <chs@odoo.com>2019-10-09 02:08:17 +0200
commitd74b4518052066446e2a1975a91ce53c745ca75a (patch)
treec08180f88a512d15e37fbec628931f02b3825f65 /addons/crm/data/crm_lead_prediction_data.xml
parentec162dd0cb5622ab6e56db1a63dab5f531a96f4a (diff)
parentf4105eb9c7010f8693e5d2fd20c0bd9d9cc2e483 (diff)
[MERGE] forward port branch 13.0 up to f4105eb9c70
Diffstat (limited to 'addons/crm/data/crm_lead_prediction_data.xml')
-rw-r--r--addons/crm/data/crm_lead_prediction_data.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/crm/data/crm_lead_prediction_data.xml b/addons/crm/data/crm_lead_prediction_data.xml
index f390b6e6138..1a1cbc3675f 100644
--- a/addons/crm/data/crm_lead_prediction_data.xml
+++ b/addons/crm/data/crm_lead_prediction_data.xml
@@ -20,6 +20,18 @@
<record id="frequency_field_lang_id" model="crm.lead.scoring.frequency.field">
<field name="field_id" eval="ref('crm.field_crm_lead__lang_id')"/>
</record>
+ <record id="crm_pls_fields_param" model="ir.config_parameter">
+ <field name="key">crm.pls_fields</field>
+ <field name="value" eval="'state_id,country_id,phone_state,email_state,source_id'"/>
+ </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() - timedelta(days=8)).strftime('%Y-%m-%d')"/>
+ </record>
+ <record id="crm_pls_rebuild_threshold_param" model="ir.config_parameter">
+ <field name="key">crm.pls_rebuild_threshold</field>
+ <field name="value">100</field>
+ </record>
</data>
<record id="website_crm_score_cron" model="ir.cron">