-
- Downloads
[FIX] account: restore standard composer behaviour when sending unique mails
Fine-tuning of commit 5621ae3d. While it focused on fixing the 'mass_mail' mode, it forgot to keep the correct behaviour for the case where only one mail is sent. In the latter case, it is typical to overwrite the template values, especially for the body, before sending the mail. In that case, applying the onchange on the templates overwrites the user input. Note that in the case where the template is undefined it would set the composer values to empty ones; while standard use would not allow in mass mail to both send content and have no template, it could be done via a customisation. opw 2041631 closes odoo/odoo#35164 Signed-off-by:Nans Lefebvre (len) <len@odoo.com>
Please register or sign in to comment