diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-07-25 06:13:56 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-07-25 06:13:59 +0000 |
| commit | 7b22be48143cc08fae22c2d4eb9cbc9a58c20421 (patch) | |
| tree | ec6ab420337573b5c55db5d2a7e33a1e70e6cd20 /addons/google_spreadsheet/static/src/xml/addtospreadsheet.xml | |
| parent | 6a59224055ae53f7d551c27289ce8810674ef6e3 (diff) | |
[FIX] account: restore standard composer behaviour when sending unique mails
Fine-tuning of commit 5621ae3d6b5cc1d653ec8c757108950de2897917.
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>
Diffstat (limited to 'addons/google_spreadsheet/static/src/xml/addtospreadsheet.xml')
0 files changed, 0 insertions, 0 deletions
