Browse Source
🚑 mail_private: Compatibility error with EE modules
pull/241/head
ommo73
5 years ago
No known key found for this signature in database
GPG Key ID: E7E1F5C23505AFF8
3 changed files with
10 additions and
3 deletions
-
mail_private/__manifest__.py
-
mail_private/doc/changelog.rst
-
mail_private/models.py
|
|
@ -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", |
|
|
|
|
|
@ -1,3 +1,8 @@ |
|
|
|
`1.1.2 |
|
|
|
------- |
|
|
|
|
|
|
|
- **FIX:** Compatibility error with EE modules |
|
|
|
|
|
|
|
`1.1.1` |
|
|
|
------- |
|
|
|
|
|
|
|
|
|
@ -53,7 +53,9 @@ class MailMessage(models.Model): |
|
|
|
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): |
|
|
|