summaryrefslogtreecommitdiff
path: root/doc/reference/data.rst
diff options
context:
space:
mode:
authorMunaf Khan <mub@odoo.com>2021-01-27 09:47:08 +0000
committerDharmraj Jhala <dja@odoo.com>2021-02-12 04:59:25 +0000
commitfe177e76f92c38216afb7c977d91dece856e6bf1 (patch)
tree408329ea558ea3d7683fd226877f92f65ce238c5 /doc/reference/data.rst
parent8bd81014f317c693b915a38d1d4dec0c5e490f90 (diff)
[FIX] crm: prevent crash due to invalid system parameter
Right now, if someone changes the `crm.pls_start_date` system parameter to something that is not valid, opening a settings gives you traceback. This commit improves the behavior by making sure that the compute field on settings page `predictive_lead_scoring_start_date` always contains a valid date. For doing so, if the system parameter is not a valid date(or not set or deleted), we set the above field to the date 8 days prior to current date, and thus, when saving the settings, the system parameter is again set with a valid date. closes odoo/odoo#65985 Taskid: 2448248 X-original-commit: ead10c7e0a22ce65a88558cdfaa99198ac27e524 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'doc/reference/data.rst')
0 files changed, 0 insertions, 0 deletions