diff --git a/addons/base_setup/models/res_config_settings.py b/addons/base_setup/models/res_config_settings.py
index b2da7ff378f..19511627002 100644
--- a/addons/base_setup/models/res_config_settings.py
+++ b/addons/base_setup/models/res_config_settings.py
@@ -23,6 +23,7 @@ class ResConfigSettings(models.TransientModel):
module_base_gengo = fields.Boolean("Translate Your Website with Gengo")
module_inter_company_rules = fields.Boolean("Manage Inter Company")
module_pad = fields.Boolean("Collaborative Pads")
+ module_voip = fields.Boolean("Asterisk (VoIP)")
company_share_partner = fields.Boolean(string='Share partners to all companies',
help="Share your partners to all companies defined in your instance.\n"
" * Checked : Partners are visible for every companies, even if a company is defined on the partner.\n"
diff --git a/addons/base_setup/views/res_config_settings_views.xml b/addons/base_setup/views/res_config_settings_views.xml
index d83cc4d1d99..7f0932f3adb 100644
--- a/addons/base_setup/views/res_config_settings_views.xml
+++ b/addons/base_setup/views/res_config_settings_views.xml
@@ -118,7 +118,7 @@
diff --git a/addons/web/static/tests/fields/basic_fields_tests.js b/addons/web/static/tests/fields/basic_fields_tests.js
index 6347ed63432..2e98a634409 100644
--- a/addons/web/static/tests/fields/basic_fields_tests.js
+++ b/addons/web/static/tests/fields/basic_fields_tests.js
@@ -2646,10 +2646,10 @@ QUnit.module('basic_fields', {
});
QUnit.test('phone field in form view on normal screens', function (assert) {
- // The behavior of this widget is completely altered by crm_voip so this
- // test is irrelevant and fails if crm_voip is installed. The enterprise
+ // The behavior of this widget is completely altered by voip so this
+ // test is irrelevant and fails if voip is installed. The enterprise
// module is responsible for testing its own behavior in its own tests.
- if ('crm.voip' in odoo.__DEBUG__.services) {
+ if ('voip.user_agent' in odoo.__DEBUG__.services) {
assert.expect(0);
return;
}
@@ -2701,10 +2701,10 @@ QUnit.module('basic_fields', {
});
QUnit.test('phone field in editable list view on normal screens', function (assert) {
- // The behavior of this widget is completely altered by crm_voip so this
- // test is irrelevant and fails if crm_voip is installed. The enterprise
+ // The behavior of this widget is completely altered by voip so this
+ // test is irrelevant and fails if voip is installed. The enterprise
// module is responsible for testing its own behavior in its own tests.
- if ('crm.voip' in odoo.__DEBUG__.services) {
+ if ('voip.user_agent' in odoo.__DEBUG__.services) {
assert.expect(0);
return;
}
diff --git a/addons/web/static/tests/views/form_tests.js b/addons/web/static/tests/views/form_tests.js
index f87eea2d154..33f763a9ecc 100644
--- a/addons/web/static/tests/views/form_tests.js
+++ b/addons/web/static/tests/views/form_tests.js
@@ -3584,10 +3584,10 @@ QUnit.module('Views', {
});
QUnit.test('navigation with tab key in readonly form view', function (assert) {
- // The behavior of the phone widget is completely altered by crm_voip so
- // this test fails if crm_voip is installed. The enterprise module is
+ // The behavior of the phone widget is completely altered by voip so
+ // this test fails if voip is installed. The enterprise module is
// responsible for testing its own behavior in its own tests.
- if ('crm.voip' in odoo.__DEBUG__.services) {
+ if ('voip.user_agent' in odoo.__DEBUG__.services) {
assert.expect(0);
return;
}