summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/less/web_editor.common.less
diff options
context:
space:
mode:
authoralexkuhn <alexkuhn@users.noreply.github.com>2017-10-17 14:20:30 +0200
committerGitHub <noreply@github.com>2017-10-17 14:20:30 +0200
commita48b5c45aa8abef24da31104187399702533d1fe (patch)
treeac3db9502ec43929c52958498f94584eb6d76777 /addons/web_editor/static/src/less/web_editor.common.less
parent539a09a93ca9776c589f890d31bf132d5ed87dc4 (diff)
[FIX] crm: stage auto-probability not taken into account when creating an opportunity from kanban view (#20209)
1. on CRM module -> Select Pipeline -> Create a column (e.g. 'Test') 2. Edit this Stage 3. Toggle on the field 'Change Probability Automatically' 4. Set a stage probability (e.g. 50%) 5. Create an opportunity on this stage, using the quick create widget of the kanban view => The probability of the newly created opportunity is not 50%, as it should be expected It takes the default_probability, using a default_stage_id, which is the 'New' column having initially a probability of 10%. The stage_id is correctly assigned to the newly created opportunity thanks to environment variable 'default_stage_id', but not the probability. We solved this bug by updating the probability of the opportunity, after creating the object. We cannot do it at the same time, because BaseObject.create parse the missing fields in an order where probability comes before stage_id. This fix is limited to the quick creation of opportunity by means of its name only. In particular, it doesn't overwrite the input of the user in the form view. opw-772310
Diffstat (limited to 'addons/web_editor/static/src/less/web_editor.common.less')
0 files changed, 0 insertions, 0 deletions