Skip to content
Browse files

[FIX] mail: mail composer wizard

Default values were not correctly set if partner_ids was defined.  It 
led to a traceback some lines below when trying to pop an unexisting 
  • Loading branch information...
Feyensv committed Oct 9, 2019
1 parent 4bd482f commit dfae707f7d59b7062f04ca39dfba8850774690cf
Showing with 4 additions and 0 deletions.
  1. +4 −0 addons/mail/wizard/
@@ -496,6 +496,10 @@ def render_message(self, res_ids):
'body': bodies[res_id],
'email_from': emails_from[res_id],
'reply_to': replies_to[res_id],
'partner_ids': [],
# VFE fixme should it be self.partner_ids.ids ???
'email_to': False,
'email_cc': False
results[res_id].update(default_recipients.get(res_id, dict()))

0 comments on commit dfae707

Please sign in to comment.
You can’t perform that action at this time.