summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-02-12 15:55:55 +0100
committerThibault Delavallée <tde@odoo.com>2019-04-08 15:18:18 +0200
commit32c2af2376c27dc078206725f0c94697e237e8a7 (patch)
treef88092cc0f455971840a8b2e5f388e40ddcba248 /addons/web_editor/static/src/js
parente831064d93bf6349e09ec8a0485c09cbaf4cde4f (diff)
[FIX] mass_mailing: correctly find partner email in mass mailing
In mass mailing access to partners when performing a mass mailing has been done in batch to speedup computation [1]. Emails are put into a dictionary allowing to find back the email based on partner_id. However the matching between the partner and its emails is done using a shortcut using the current document ID as partner ID. It works when performing a mass mailing on partners but fails when performing a mass mailing on models having message_get_default_recipients not returning only emails. Currently in saas-14 main models return only emails (crm, event, mailing contacts) but other models may encounter issues (applicants, tickets). This commit fixes it by correctly matching partner id and its found email. [1] See 65ed4553a50fdbefc986b7d21f87a81c42b743c7
Diffstat (limited to 'addons/web_editor/static/src/js')
0 files changed, 0 insertions, 0 deletions