summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
-rw-r--r--addons/mail/wizard/mail_compose_message.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/addons/mail/wizard/mail_compose_message.py b/addons/mail/wizard/mail_compose_message.py
index f5ad45c0a56..e88c11cbc84 100644
--- a/addons/mail/wizard/mail_compose_message.py
+++ b/addons/mail/wizard/mail_compose_message.py
@@ -430,9 +430,6 @@ class MailComposer(models.TransientModel):
values['body'] = values.pop('body_html')
# This onchange should return command instead of ids for x2many field.
- # ORM handle the assignation of command list on new onchange (api.v8),
- # this force the complete replacement of x2many field with
- # command and is compatible with onchange api.v7
values = self._convert_to_write(values)
return {'value': values}