Skip to content

Commit

Permalink
Merge pull request #241 from Ommo73/12.0-mail_private-internal_users_…
Browse files Browse the repository at this point in the history
…checked
  • Loading branch information
ilmir-k authored Oct 22, 2019
2 parents 2324ac1 + 7c30634 commit d1f98db
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mail_private/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"summary": """Send private messages to specified recipients, regardless of who are in followers list.""",
"category": "Discuss",
# "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=12.0",
"images": [],
"version": "12.0.1.1.1",
"images": ['images/mail_private_image.png'],
"version": "12.0.1.1.2",
"application": False,

"author": "IT-Projects LLC, Pavel Romanchenko",
Expand Down
5 changes: 5 additions & 0 deletions mail_private/doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
`1.1.2
-------

- **FIX:** Compatibility error with EE modules

`1.1.1`
-------

Expand Down
4 changes: 3 additions & 1 deletion mail_private/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def _notify(self, record, msg_vals, force_send=False, send_after_commit=True, mo
return super(MailMessage, self)._notify(record, msg_vals, force_send, send_after_commit, model_description, mail_auto_delete)
else:
rdata = self._notify_compute_internal_recipients(record, msg_vals)
return self._notify_recipients(rdata, record, msg_vals, force_send, send_after_commit, model_description, mail_auto_delete)
return self._notify_recipients(rdata, record, msg_vals,
force_send=force_send, send_after_commit=send_after_commit,
model_description=model_description, mail_auto_delete=mail_auto_delete)

@api.multi
def _notify_compute_internal_recipients(self, record, msg_vals):
Expand Down

0 comments on commit d1f98db

Please sign in to comment.