summaryrefslogtreecommitdiff
path: root/addons/web/static/test/fields/basic_fields_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/test/fields/basic_fields_tests.js')
-rw-r--r--addons/web/static/test/fields/basic_fields_tests.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/web/static/test/fields/basic_fields_tests.js b/addons/web/static/test/fields/basic_fields_tests.js
index 9ed0bb5c169..09d590f40c2 100644
--- a/addons/web/static/test/fields/basic_fields_tests.js
+++ b/addons/web/static/test/fields/basic_fields_tests.js
@@ -1430,6 +1430,14 @@ 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
+ // module is responsible for testing its own behavior in its own tests.
+ if ('crm.voip' in odoo.__DEBUG__.services) {
+ assert.expect(0);
+ return;
+ }
+
assert.expect(5);
var form = createView({
@@ -1477,6 +1485,14 @@ 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
+ // module is responsible for testing its own behavior in its own tests.
+ if ('crm.voip' in odoo.__DEBUG__.services) {
+ assert.expect(0);
+ return;
+ }
+
assert.expect(8);
var list = createView({