diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-03-31 15:48:26 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-04-11 19:44:38 +0200 |
| commit | 97b4da489d48339b9cbadd358e0bea5bb4e56f38 (patch) | |
| tree | 404cf661aa9708384cd3c38b938360a017864ac6 | |
| parent | 3d959382fd92aca6c48ea2413c646edcc1f178f4 (diff) | |
[FIX] test_new_api: adapt tour to new onchange semantics
Onchanges triggered in a relational fields are now directly
triggered on the main form view as well. This was not the case
before and there were some steps (or parts of steps) checking
that.
| -rw-r--r-- | odoo/addons/test_new_api/static/test/x2many.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/odoo/addons/test_new_api/static/test/x2many.js b/odoo/addons/test_new_api/static/test/x2many.js index 38d6ff2be67..2c0562481f5 100644 --- a/odoo/addons/test_new_api/static/test/x2many.js +++ b/odoo/addons/test_new_api/static/test/x2many.js @@ -387,10 +387,6 @@ odoo.define('web.test.x2many', function (require) { // trigger: '.o_list_view .o_selected_row td:nth(3):contains(3)', // run: function () {}, // don't blur the many2one // }, { - content: "test one2many field not triggered onchange", - trigger: '.o_content:not(:has(.o_form_textarea [name="message_concat"] textarea:propValueContains(ccc)))', - run: function () {}, // don't blur the many2one - }, { content: "open the many2one to select an other user", trigger: '.o_list_view .o_form_field_many2one[name="author"] .o_form_input_dropdown > input', run: 'text Demo', @@ -404,17 +400,12 @@ odoo.define('web.test.x2many', function (require) { // // trigger: '.o_list_editable_form span.o_form_field:contains([test_trigger2] Demo User)', // run: function () {}, // don't blur the many2one }, { - content: "test one2many field not triggered onchange", - trigger: '.o_content:not(:has(.o_form_textarea[name="message_concat"] textarea:propValueContains(ccc)))', - run: function () {}, // don't blur the many2one - }, { content: "change text value", trigger: '.o_form_textarea[name="body"] textarea:first', run: 'text ccccc', }, { // check onchange content: "click outside to trigger one2many onchange", trigger: 'input.o_form_required', - extra_trigger: 'body:not(:has(.o_form_textarea[name="message_concat"] textarea:first:propValueContains(Demo User)))', run: 'click' }, { // FIXME (problem 2) |
