From 7c3063421033968250608cbc55b8ad182ecf7911 Mon Sep 17 00:00:00 2001 From: ommo73 Date: Sun, 20 Oct 2019 18:15:19 +0500 Subject: [PATCH] :ambulance: mail_private: Compatibility error with EE modules --- mail_private/__manifest__.py | 4 ++-- mail_private/doc/changelog.rst | 5 +++++ mail_private/models.py | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/mail_private/__manifest__.py b/mail_private/__manifest__.py index 019c95f..23b4371 100644 --- a/mail_private/__manifest__.py +++ b/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", diff --git a/mail_private/doc/changelog.rst b/mail_private/doc/changelog.rst index 46f41df..afc6ea0 100644 --- a/mail_private/doc/changelog.rst +++ b/mail_private/doc/changelog.rst @@ -1,3 +1,8 @@ +`1.1.2 +------- + +- **FIX:** Compatibility error with EE modules + `1.1.1` ------- diff --git a/mail_private/models.py b/mail_private/models.py index 4b1c97a..88a2f5d 100644 --- a/mail_private/models.py +++ b/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):