summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-05-28 12:15:23 +0000
committerNans Lefebvre <len@odoo.com>2019-05-28 18:44:09 +0000
commit3e12f2ff56eaa4950fd14d1a4bb29e3721c0268a (patch)
tree1f5cd48f017573b1b7b962c46147270f6ff41ba7 /addons/web/static
parent69b18768f44187720b9b114f906745f534480396 (diff)
[FIX] mail: fix mail template onchange
The stable behaviour of the mail composer is the following: - if a template adds new attachments, the composer only has this list - if a template doesn't add attachments, the list is unchanged - if no template is set, the list is cleared up In the case of templates, we also check that both static and dynamic attachments are added to the list. We clean up after c6d718f2118 and subsequently 516f22c3987 which failed to take into account the fact that the attachement list could be a blend of commands and ids. Transforming that is taken care of by _convert_to_write, which semantics was changed by c6d718f2118. To keep the second behaviour, we thus need to add a (5,) command. opw 2003197 closes odoo/odoo#33706 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions