Browse Source

🚑 mail_private: Compatibility error with EE modules

pull/241/head
ommo73 5 years ago
parent
commit
7c30634210
No known key found for this signature in database GPG Key ID: E7E1F5C23505AFF8
  1. 4
      mail_private/__manifest__.py
  2. 5
      mail_private/doc/changelog.rst
  3. 4
      mail_private/models.py

4
mail_private/__manifest__.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",

5
mail_private/doc/changelog.rst

@ -1,3 +1,8 @@
`1.1.2
-------
- **FIX:** Compatibility error with EE modules
`1.1.1`
-------

4
mail_private/models.py

@ -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):

Loading…
Cancel
Save