summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-02-12 14:55:55 +0000
committerThibault Delavallée <tde@odoo.com>2019-04-08 12:39:18 +0000
commitb0491c44457eef3daacc906802340589cdd87d68 (patch)
treef3117d49e2faa30ec54eb2e6f6e964e663415b01 /addons/web/static/src/js/fields/basic_fields.js
parent986e405457e129992dcd8d4470944c1859c57497 (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. Related to task ID 1924711 Linked to PR #32496 [1] See 65ed4553a50fdbefc986b7d21f87a81c42b743c7
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions