summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
-rw-r--r--addons/web/static/tests/fields/basic_fields_tests.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/web/static/tests/fields/basic_fields_tests.js b/addons/web/static/tests/fields/basic_fields_tests.js
index e23483b4276..0d5faa0328f 100644
--- a/addons/web/static/tests/fields/basic_fields_tests.js
+++ b/addons/web/static/tests/fields/basic_fields_tests.js
@@ -2430,7 +2430,7 @@ QUnit.module('basic_fields', {
form.destroy();
});
- QUnit.test('datetime field in form view', function (assert) {
+ QUnit.test('datetime field in form view 2', function (assert) {
assert.expect(1);
this.data.partner.fields.datetime.default = "2017-08-02 12:00:05";
@@ -2449,8 +2449,7 @@ QUnit.module('basic_fields', {
});
testUtils.patch(basicFields.FieldDate, {
_setValue: function () {
- throw "The time format of the language must be taken into account."
- return this._super.apply(this, arguments);
+ throw "The time format of the language must be taken into account.";
},
});
form.$buttons.find('.o_form_button_create').click();