summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/thread_cache/thread_cache.js
diff options
context:
space:
mode:
authorJérémy Hennecart <jeh@odoo.com>2020-09-21 09:54:34 +0000
committerJérémy Hennecart <jeh@odoo.com>2020-11-16 10:33:36 +0000
commitc5059aa151430eebd62e9f000fe43e87bdd89ff3 (patch)
tree6925f6d79aa47a0c10df71caf06a743936a0168c /addons/mail/static/src/models/thread_cache/thread_cache.js
parentb3415d9dd0bcc1053e47b8a0082c772ca4a8220f (diff)
[FIX] website_crm_partner_assign: fix condition to assign salesman
The first stage has not always its sequence equal to 1. So if the probability was for example equal to 0, then the salesman will not be set to the new lead. Since when we create a lead, the default stage is the first one in the sequence. We only need to check if the lead is not already won when we create a lead and try to assign the salesman to it. task-2329327 closes odoo/odoo#58153 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions