summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorFlorent Lejoly <fle@odoo.com>2019-09-24 13:02:00 +0000
committerThibault Delavallée <tde@odoo.com>2019-09-25 17:30:04 +0000
commit211dba4a83a12f2084083e4ef395c85fb6429d1e (patch)
tree8ed5412ef9e50d8b0fe0effde0bdf26d7f9e02e4 /addons/web/static/src/js/views/basic/basic_model.js
parentb7b3c33aa3dc9417c45f3bbb35e108c9af436000 (diff)
[IMP] crm_iap_lead_enrich: improve settings of enrichment
Before this commit it was not possible to enrich leads manually as only a cron enriches leads. It is considered as sub optimal since people would like to do it manually on some leads and not activate it only for all leads, using a cron. After this commit an option is added in CRM settings to choose the type of enrichment: either manual, either automatic. In manual mode, a button appears on the lead to enrich if certain conditions are met (email_adress present, not already enriched,...). It also deactivates the enrich cron. In automatic mode, the button on lead is not displayed and the cron is activated. A config parameter is defined in CRM as it is requested to be able to configure it directly in CRM without having to first install the app then configure it. A post install hook to synchronize cron status with config parameter is therefore required. FP/AJU request Task 2075817 closes odoo/odoo#37367 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions