Skip to content
Permalink
Browse files

[IMP] sms: send to oneself

After this commit:
the author of an sms can send it to himself
  • Loading branch information
Florimond committed Nov 21, 2019
1 parent ec603e2 commit 9c7b018bcd7b4f2656e7d773bb074db209e38616
Showing with 2 additions and 0 deletions.
  1. +2 −0 addons/sms/wizard/sms_composer.py
@@ -314,4 +314,6 @@ def _get_records(self):
records = self.env[self.res_model].browse(self.res_id)
else:
records = self.env[self.res_model].browse(literal_eval(self.res_ids or '[]'))

records = records.with_context(mail_notify_author=True)
return records

0 comments on commit 9c7b018

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