From dc184cc365816af329daddbe59bbaee1f4d86087 Mon Sep 17 00:00:00 2001 From: ommo73 Date: Tue, 21 May 2019 16:05:34 +0500 Subject: [PATCH 1/3] :zap: mail_private New: internal users are flagged automatically --- mail_private/__manifest__.py | 2 +- mail_private/doc/changelog.rst | 5 +++++ mail_private/models.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mail_private/__manifest__.py b/mail_private/__manifest__.py index a97ec25..9712286 100644 --- a/mail_private/__manifest__.py +++ b/mail_private/__manifest__.py @@ -7,7 +7,7 @@ "category": "Discuss", # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=12.0", "images": [], - "version": "12.0.1.0.2", + "version": "12.0.1.1.0", "application": False, "author": "IT-Projects LLC, Pavel Romanchenko", diff --git a/mail_private/doc/changelog.rst b/mail_private/doc/changelog.rst index 20569d5..4a5f5f0 100644 --- a/mail_private/doc/changelog.rst +++ b/mail_private/doc/changelog.rst @@ -1,3 +1,8 @@ +`1.1.0` +------- + +- **New**: internal users are flagged automatically. + `1.0.2` ------- diff --git a/mail_private/models.py b/mail_private/models.py index 4ae1b91..4b1c97a 100644 --- a/mail_private/models.py +++ b/mail_private/models.py @@ -27,7 +27,7 @@ class MailMessage(models.Model): for recipient in recipient_ids: result.append({ - 'checked': len(recipient.user_ids) > 0, + 'checked': recipient.user_ids.id and not any(recipient.user_ids.mapped('share')), 'partner_id': recipient.id, 'full_name': recipient.name, 'name': recipient.name, From 2799e60862783fb9d859352b264e35523f7ef04e Mon Sep 17 00:00:00 2001 From: ommo73 Date: Tue, 21 May 2019 16:05:34 +0500 Subject: [PATCH 2/3] :rainbow: mail_private: refactored --- mail_private/__manifest__.py | 2 +- mail_private/doc/changelog.rst | 5 +++++ mail_private/static/src/xml/mail_private.xml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mail_private/__manifest__.py b/mail_private/__manifest__.py index 9712286..019c95f 100644 --- a/mail_private/__manifest__.py +++ b/mail_private/__manifest__.py @@ -7,7 +7,7 @@ "category": "Discuss", # "live_test_url": "http://apps.it-projects.info/shop/product/DEMO-URL?version=12.0", "images": [], - "version": "12.0.1.1.0", + "version": "12.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 4a5f5f0..46f41df 100644 --- a/mail_private/doc/changelog.rst +++ b/mail_private/doc/changelog.rst @@ -1,3 +1,8 @@ +`1.1.1` +------- + +- **Improvement:** refactoring code + `1.1.0` ------- diff --git a/mail_private/static/src/xml/mail_private.xml b/mail_private/static/src/xml/mail_private.xml index f04b9db..0bc7f01 100644 --- a/mail_private/static/src/xml/mail_private.xml +++ b/mail_private/static/src/xml/mail_private.xml @@ -6,7 +6,7 @@ - + From ee4c0bdc0dfbf47e581fa4a999b47070da9fd7ae Mon Sep 17 00:00:00 2001 From: ommo73 Date: Wed, 28 Aug 2019 17:06:38 +0500 Subject: [PATCH 3/3] :book: mail_multi_website: to long module name --- mail_multi_website/README.rst | 6 +++--- mail_multi_website/__manifest__.py | 2 +- mail_multi_website/doc/index.rst | 6 +++--- mail_multi_website/static/description/index.html | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/mail_multi_website/README.rst b/mail_multi_website/README.rst index 3c8133e..9e2c37a 100644 --- a/mail_multi_website/README.rst +++ b/mail_multi_website/README.rst @@ -2,9 +2,9 @@ :target: https://www.gnu.org/licenses/lgpl :alt: License: LGPL-3 -=========================================== - Email Addresses and Templates per Website -=========================================== +===================== + Multi-Brand Mailing +===================== Mail-related stuff for multi-website support diff --git a/mail_multi_website/__manifest__.py b/mail_multi_website/__manifest__.py index 2affcde..ace373e 100644 --- a/mail_multi_website/__manifest__.py +++ b/mail_multi_website/__manifest__.py @@ -2,7 +2,7 @@ # Copyright 2018 Kolushov Alexandr # License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). { - "name": """Email Addresses and Templates per Website""", + "name": """Multi-Brand Mailing""", "summary": """Use single Backend to manage several Websites""", "category": "Discuss", # "live_test_url": "http://apps.it-projects.info/shop/product/website-multi-company?version=11.0", diff --git a/mail_multi_website/doc/index.rst b/mail_multi_website/doc/index.rst index 95e9938..0c0f475 100644 --- a/mail_multi_website/doc/index.rst +++ b/mail_multi_website/doc/index.rst @@ -1,6 +1,6 @@ -=========================================== - Email Addresses and Templates per Website -=========================================== +===================== + Multi-Brand Mailing +===================== Installation ============ diff --git a/mail_multi_website/static/description/index.html b/mail_multi_website/static/description/index.html index 4b57adf..8f49935 100644 --- a/mail_multi_website/static/description/index.html +++ b/mail_multi_website/static/description/index.html @@ -1,8 +1,7 @@
-

Email Addresses and Templates per Website -

+

Multi-Brand Mailing

Use single Backend to manage several Websites