summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2018-05-14 16:33:55 +0200
committerDenis Ledoux <dle@odoo.com>2018-05-14 16:48:20 +0200
commite48767fe6509c9dc5bb3c0907ad36d16c4b5b773 (patch)
tree6ee690f90990ef32ed6ea7ec3e9eb436c3c1de60 /addons/web/static/src/js/views/basic/basic_model.js
parent1dae7ea1d660dca32e7261c5c0ed710e5541c641 (diff)
[FIX] mass_mailing: force to not use a template for the rendering
If the user configures a default `template_id` for the `mail.compose.message`, this template was used by the mass mailing to render the email, and, among others, it therefore used the `email_to` of this email template, to render the recipients, and it was configured empty or something else than `object.id`, it did not used the `active_ids` passed in the context to the `mail.compose.message` `create` call to compute the correct recipients To reproduce: - In developer mode (?debug) - Open the full mail compose message e.g. in app sales, open a so, hit new message, and hit the button to open the full message composer - Set the template to the quotation template is not there already - In the debug menu of the dialog, View > Set defaults, - Click the radio button to all users, and the default to Use template = ... - Then, try to send a mass mailing. It will fail because it cannot compute the `email_to` values correctly because the `email_to` of the quotation template is empty. opw-1840287
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions