[FIX] mail: does not write "False" if mail body is empty
opw-640309
This commit is contained in:
parent
6de6662ecb
commit
eaaca65594
|
@ -234,7 +234,7 @@ class mail_compose_message(osv.TransientModel):
|
|||
# mail.message values, according to the wizard options
|
||||
post_values = {
|
||||
'subject': wizard.subject,
|
||||
'body': wizard.body,
|
||||
'body': wizard.body or '',
|
||||
'parent_id': wizard.parent_id and wizard.parent_id.id,
|
||||
'partner_ids': [partner.id for partner in wizard.partner_ids],
|
||||
'attachment_ids': [attach.id for attach in wizard.attachment_ids],
|
||||
|
|
Loading…
Reference in New Issue