diff options
| author | Florent Lejoly <fle@odoo.com> | 2019-11-08 09:59:10 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-12-17 12:47:47 +0000 |
| commit | 135dab0f4108ca71afac91234d10d1c7f4015c51 (patch) | |
| tree | 0e3585f32eeb1b28ed93659c55257a203d8d2494 /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | b66af0d707ede82d05f08ff3d665ee12d3350037 (diff) | |
[FIX] crm: fix archive / restore PLS inconsistencies
SPECIFICATIONS
Fixes following issue: when a lead is marked as lost, the probability is
correctly set to 0 but not the automatic one. If one clicks on the "Set to
automatic", the probability is updated, which un-archives it without really
restoring it, meaning we get in a very strange state outside the expected flow
(no Won/Lost buttons, ...).
With this commit the automated probability is set to 0 when setting as lost.
Moreover restoring a lead recomputes its probabilities.
LINKS
Related to Task ID 2092799 (not really spec, spotted while working on it)
PR odoo/odoo#42015
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
