diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-05-06 08:31:12 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-05-06 08:34:03 +0000 |
| commit | 2ff0ebd63b38878a4b7c6691cb86639df119ac0e (patch) | |
| tree | d32c785a78b62be41e9302ad6c145807a08c1245 /doc/reference | |
| parent | 9cb9e227c9a52b675e69e29540b59bf45523b54c (diff) | |
[FIX] website_sale: render mail template when sending only one mail
The email_compose_message_wizard_form takes a default_composition_mode.
If it is 'mass_mail', the used mail template is not rendered.
Since this is basically unreadable for a normal user, this can be confusing.
Note that this is even the case if the mail is being sent on only one record.
We use the 'comment' composition mode if there is only one target record so that
the template is rendered in that case.
opw 1984381
closes odoo/odoo#33173
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
