diff options
| author | Thibault Francois <tfr@openerp.com> | 2020-02-21 16:15:09 +0000 |
|---|---|---|
| committer | Thibault Francois <tfr@openerp.com> | 2020-02-28 12:22:03 +0000 |
| commit | 49fc39b202f213b3517062d0a33c1c9c3a69fd52 (patch) | |
| tree | 5d751bf132aa72c59d3701dceabe7fb01064536c /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | ef863e812bf993441afd08164670751ccfedc8ea (diff) | |
[FIX] crm: get pls probabilities with sudo
Portal user that have opportunities in their portal
may change the stage of the opportunity
Changing the stage on the portal trigger
direcly the method write.
With the pls, write on the stage
trigger the recompute of the probabilities
that read on crm.lead.scoring.frequency
which portal user don't have acess
closes odoo/odoo#46551
Solution: compute probabilities in sudo mode
X-original-commit: 9cd7fe0ff3ce07618635b4d13ca564bd2f326980
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
