diff options
| author | Alexandre Kühn <aku@odoo.com> | 2018-02-12 16:10:52 +0100 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-02-12 16:16:06 +0100 |
| commit | 83354c2b24bc6c9db1fb63440115d2d4db5bd4ef (patch) | |
| tree | 0337dd42434200cb7279cc678dccd71cda61a17d /addons/web/static/tests/fields/relational_fields_tests.js | |
| parent | dd610140bf272e21a5c3ba45202bcde8e417cfaa (diff) | |
| parent | 7339ae978f5c3d374c43d59e9f75bc6d279d1c96 (diff) | |
[MERGE] mail,web,*: JS mail and services tracebacks
* account,bus, web_editor, website, website_slides, web_tour
This merge fixes most issues where the webclient crashed with
discuss installed in mobile.
These issues occur due to the fact that the chat_manager, now
a service, was loaded after the webclient is instantiated.
The main idea of the fix is to let the webclient register services
that are loaded after its instantiation.
Despite appearances, the desktop mode had also this issue, but
most of the bugs were hidden thanks to the availability of tours
that are loaded after the module mail.
Diffstat (limited to 'addons/web/static/tests/fields/relational_fields_tests.js')
| -rw-r--r-- | addons/web/static/tests/fields/relational_fields_tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/tests/fields/relational_fields_tests.js b/addons/web/static/tests/fields/relational_fields_tests.js index 0a1fd9128e6..ecedd4c5bc5 100644 --- a/addons/web/static/tests/fields/relational_fields_tests.js +++ b/addons/web/static/tests/fields/relational_fields_tests.js @@ -6271,7 +6271,7 @@ QUnit.module('relational_fields', { } if (args.method === 'write') { assert.deepEqual(args.args[1].timmy, [[6, false, [12]]], - 'should properly write ids') + 'should properly write ids'); } return this._super.apply(this, arguments); }, @@ -9354,7 +9354,7 @@ QUnit.module('relational_fields', { $input = form.$('.o_field_many2manytags span[data-id=13]'); // selects 'red' tag $input.click(); // opens the colorpicker dropdown assert.ok(form.$('.o_field_many2manytags span[data-id=13] .o_colorpicker .o_checkbox'), "should have a checkbox in the colorpicker dropdown menu"); - + $input.click(); var $checkBox = form.$('.o_field_many2manytags span[data-id=13] .o_colorpicker .o_checkbox input'); assert.notOk($checkBox.is(':checked'), "should have unticked checkbox in colorpicker dropdown menu"); |
