Skip to content

Commit

Permalink
Merge pull request #515 from Tecnativa/10.0-fix_non_existent_field
Browse files Browse the repository at this point in the history
[FIX] typo: field type is incorrect
  • Loading branch information
tafaRU committed Jul 14, 2017
2 parents f546f18 + ac7642c commit aa83b70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _generate_emails(self):
for comm in self:
template = comm.current_policy_level.email_template_id
email_values = template.generate_email(comm.id)
email_values['type'] = 'email'
email_values['message_type'] = 'email'
# model is Transient record (self) removed periodically so no point
# of storing res_id
email_values.pop('model', None)
Expand Down

0 comments on commit aa83b70

Please sign in to comment.