diff options
| author | Aaron Bohy <aab@odoo.com> | 2015-06-24 10:41:00 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2015-06-25 15:44:42 +0200 |
| commit | 230af351544d5486c305d8b3d340d8f1b00abdd7 (patch) | |
| tree | fc773bb31398f644b451f5482c223b84aaad87b7 /addons/web_tests/static | |
| parent | 5490aad0c943af255424c71247d7b09b7a95f628 (diff) | |
[IMP] web: ViewManager for One2Many and Many2Many fields
This rev. generalizes the notions of FieldOne2Many to FieldX2Many and of One2ManyViewManager
to X2ManyViewManager. The same logic is now applied both for One2Many and Many2Many fields.
This allows Many2Many list and kanban views to have a pager, as the pager is instanciated
by the view, on demand of the ViewManager.
Diffstat (limited to 'addons/web_tests/static')
| -rw-r--r-- | addons/web_tests/static/src/js/web.tour.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/addons/web_tests/static/src/js/web.tour.js b/addons/web_tests/static/src/js/web.tour.js index a869de1c693..270c058c49e 100644 --- a/addons/web_tests/static/src/js/web.tour.js +++ b/addons/web_tests/static/src/js/web.tour.js @@ -30,7 +30,7 @@ Tour.register({ { title: "create new message a", waitFor: '.oe_form_required input:propValue(test)', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "insert body a", @@ -49,7 +49,7 @@ Tour.register({ title: "create new message b", waitNot: '.modal', waitFor: '.oe_application:has(.oe_list_field_cell):has(textarea[name="message_concat"]:propValue([test] Administrator:a))', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "insert body b", @@ -106,7 +106,7 @@ Tour.register({ title: "create new message c", waitNot: '.modal', waitFor: 'textarea[name="message_concat"]:propValue([test_trigger] Administrator:a\n[test_trigger] Administrator:bbb)', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "insert body", @@ -129,7 +129,7 @@ Tour.register({ }, { title: "click to add participants", - element: '.tab-pane:eq(1).active .oe_form_field_many2many_list_row_add a' + element: '.tab-pane:eq(1).active .oe_form_field_x2many_list_row_add a' }, { title: "select participant 1", @@ -189,7 +189,7 @@ Tour.register({ { title: "create new message d", waitFor: 'li.active a[data-toggle="tab"]:contains(Messages)', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "insert body", @@ -208,7 +208,7 @@ Tour.register({ title: "create new message e", waitNot: '.modal', waitFor: '.oe_list_field_cell:containsExact(d)', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "insert body", @@ -295,7 +295,7 @@ Tour.register({ title: "create new message ddd", waitNot: '.modal', waitFor: '.oe_list_field_cell:containsExact(d)', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "select an other user", @@ -483,7 +483,7 @@ Tour.register({ { title: "create new message eee", waitFor: 'li.active a[data-toggle="tab"]:contains(Messages)', - element: '.oe_form_field_one2many_list_row_add a' + element: '.oe_form_field_x2many_list_row_add:first a' }, { title: "change text value", |
