From 3a112c7b78d04479e7f8d27adaeb0753bdb0111c Mon Sep 17 00:00:00 2001 From: "Tiffany Chang (tic)" Date: Mon, 3 Feb 2020 10:02:30 +0000 Subject: [IMP] mass_mailing_(sms): Update UX Minor UX tweaks for more consistent and correct wording, visualization, and editing ability for mass_mailing and mass_mailing_sms. Specifically: - Fix all "This email is blacklisted for mass mailing" => ".. mass mailings" typos - Make phone blacklist not editable (to align w/ email blacklist) - Add "Archived" ribbon to phone and email blacklist - Update menu items and actions - "Phone Blacklist" => "Blacklisted Phone Numbers" - "Blacklist" => "BLacklisted Email Addresses" Supports task: 2117635 --- addons/phone_validation/models/mail_thread_phone.py | 2 +- addons/phone_validation/views/phone_blacklist_views.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'addons/phone_validation') diff --git a/addons/phone_validation/models/mail_thread_phone.py b/addons/phone_validation/models/mail_thread_phone.py index f13161ad447..d0e9b5b9254 100644 --- a/addons/phone_validation/models/mail_thread_phone.py +++ b/addons/phone_validation/models/mail_thread_phone.py @@ -33,7 +33,7 @@ class PhoneMixin(models.AbstractModel): phone_blacklisted = fields.Boolean( string='Phone Blacklisted', compute="_compute_phone_blacklisted", compute_sudo=True, store=False, search="_search_phone_blacklisted", groups="base.group_user", - help="If the email address is on the blacklist, the contact won't receive mass mailing anymore, from any list") + help="If the phone number is on the blacklist, the contact won't receive mass mailing sms anymore, from any list") @api.depends(lambda self: self._phone_get_number_fields()) def _compute_phone_sanitized(self): diff --git a/addons/phone_validation/views/phone_blacklist_views.xml b/addons/phone_validation/views/phone_blacklist_views.xml index 7ed44da14b9..b04c7352e58 100644 --- a/addons/phone_validation/views/phone_blacklist_views.xml +++ b/addons/phone_validation/views/phone_blacklist_views.xml @@ -15,8 +15,9 @@ phone.blacklist.view.form phone.blacklist -
+ + @@ -44,7 +45,7 @@ - Phone Blacklist + Blacklisted Phone Numbers phone.blacklist -- cgit v1.2.3