diff options
| author | Romain Derie <rde@odoo.com> | 2019-06-03 14:26:05 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2019-06-05 05:56:33 +0000 |
| commit | fdbf11643fd04059bfbc2210427c428979fed73d (patch) | |
| tree | 56801140d47920d0582068323dd874c2ead687d5 /odoo/addons/test_new_api/static | |
| parent | d7cd97a9be63ae0a8643400b56d6f9a03285fba6 (diff) | |
[IMP] *: move test and tour files to new folder hierarchy and asset
As we now have a new debug mode 'tests' which load a new asset bundle
containing tour-test files, we moved those files to a new folder hierarchy.
That will clean the .js files trees.
Also, those files should be included in the new asset.
Basically, the .js tour files (not test) should be inside /static/src/js/tours
while .js tour test files (test=true) should be inside /static/tests/tours next
to QUnit tests, inside a tours folder.
+ test_new_api: don't run the test in debug assets
task-1934445
Comes with https://github.com/odoo/enterprise/pull/4281
Closes #33213
Diffstat (limited to 'odoo/addons/test_new_api/static')
| -rw-r--r-- | odoo/addons/test_new_api/static/tests/tours/x2many.js (renamed from odoo/addons/test_new_api/static/tests/x2many.js) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/test_new_api/static/tests/x2many.js b/odoo/addons/test_new_api/static/tests/tours/x2many.js index 06a804fca9e..ae4c0e3c8d3 100644 --- a/odoo/addons/test_new_api/static/tests/x2many.js +++ b/odoo/addons/test_new_api/static/tests/tours/x2many.js @@ -5,7 +5,7 @@ odoo.define('web.test.x2many', function (require) { var inc; tour.register('widget_x2many', { - url: '/web?debug=assets#action=test_new_api.action_discussions', + url: '/web#action=test_new_api.action_discussions', test: true, }, [ ///////////////////////////////////////////////////////////////////////////////////////////// |
