From f6c2d7ebba9826dd7b7b3ab8b0dbc31d25ccf262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Rahir?= Date: Thu, 5 Sep 2019 12:47:32 +0000 Subject: [PATCH] [IMP] base_setup : remove install button of SMS PURPOSE Allow auto install of all SMS-based feature. Move partner onchange formatting directly inside phone validation. SPECIFICATIONS Send SMS feature should not be an option anymore. Move SMS settings it to the left of the Partner Autocomplete one and remove field. Since SMS is now integrated with several business apps we do not want the user to uninstall that module "by inadvertence". LINKS Task 2061765 --- .../base_setup/models/res_config_settings.py | 1 - .../views/res_config_settings_views.xml | 19 ++++++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/addons/base_setup/models/res_config_settings.py b/addons/base_setup/models/res_config_settings.py index e54b4dbf002..058c10b06aa 100644 --- a/addons/base_setup/models/res_config_settings.py +++ b/addons/base_setup/models/res_config_settings.py @@ -29,7 +29,6 @@ class ResConfigSettings(models.TransientModel): module_voip = fields.Boolean("Asterisk (VoIP)") module_web_unsplash = fields.Boolean("Unsplash Image Library") module_partner_autocomplete = fields.Boolean("Partner Autocomplete") - module_sms = fields.Boolean("Send SMS") module_base_geolocalize = fields.Boolean("GeoLocalize") report_footer = fields.Text(related="company_id.report_footer", string='Custom Report Footer', help="Footer text displayed at the bottom of all reports.", readonly=False) group_multi_currency = fields.Boolean(string='Multi-Currencies', diff --git a/addons/base_setup/views/res_config_settings_views.xml b/addons/base_setup/views/res_config_settings_views.xml index 5938cab733e..071e743d52b 100644 --- a/addons/base_setup/views/res_config_settings_views.xml +++ b/addons/base_setup/views/res_config_settings_views.xml @@ -133,6 +133,14 @@

Contacts

+
+
+
Send SMS
+
+ Send texts to your contacts +
+
+
@@ -144,17 +152,6 @@
-
-
- -
-
-
-