From 22a310985239ed644754c8e40327c02766da387a Mon Sep 17 00:00:00 2001 From: ommo73 Date: Thu, 4 Jul 2019 18:07:56 +0500 Subject: [PATCH] :ambulance: mail_private issue with sending to unmarked recipients --- mail_private/__openerp__.py | 2 +- mail_private/doc/changelog.rst | 6 +++++- mail_private/static/src/js/mail_private.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mail_private/__openerp__.py b/mail_private/__openerp__.py index 9c85896..66b5986 100644 --- a/mail_private/__openerp__.py +++ b/mail_private/__openerp__.py @@ -10,7 +10,7 @@ "category": "Discuss", # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=8.0", "images": [], - "version": "8.0.1.1.0", + "version": "8.0.1.1.1", "application": False, "author": "IT-Projects LLC, Pavel Romanchenko", diff --git a/mail_private/doc/changelog.rst b/mail_private/doc/changelog.rst index c3f8e2e..bbb6400 100644 --- a/mail_private/doc/changelog.rst +++ b/mail_private/doc/changelog.rst @@ -1,4 +1,8 @@ -`1.1.0` +`1.1.1` +------- + +- **Fix**: issue with sending to unmarked recipients. + ------- - **New**: internal users are flagged automatically. diff --git a/mail_private/static/src/js/mail_private.js b/mail_private/static/src/js/mail_private.js index a283905..24a7408 100644 --- a/mail_private/static/src/js/mail_private.js +++ b/mail_private/static/src/js/mail_private.js @@ -18,7 +18,7 @@ openerp.mail_private = function(instance){ .find("input:checked").each(function() { $(this).prop("checked", false); }); - _.each(self.recipients, function(res) { + _.each(this.recipients, function(res) { res.checked = false; }); },