summaryrefslogtreecommitdiff
path: root/addons/project
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-06-03 14:26:05 +0000
committerJeremy Kersten <jke@odoo.com>2019-06-05 05:56:33 +0000
commitfdbf11643fd04059bfbc2210427c428979fed73d (patch)
tree56801140d47920d0582068323dd874c2ead687d5 /addons/project
parentd7cd97a9be63ae0a8643400b56d6f9a03285fba6 (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 'addons/project')
-rw-r--r--addons/project/static/src/js/tours/project.js (renamed from addons/project/static/src/js/tour.js)0
-rw-r--r--addons/project/views/project_assets.xml2
2 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/static/src/js/tour.js b/addons/project/static/src/js/tours/project.js
index 951390455b9..951390455b9 100644
--- a/addons/project/static/src/js/tour.js
+++ b/addons/project/static/src/js/tours/project.js
diff --git a/addons/project/views/project_assets.xml b/addons/project/views/project_assets.xml
index 56516199012..fb203560543 100644
--- a/addons/project/views/project_assets.xml
+++ b/addons/project/views/project_assets.xml
@@ -5,7 +5,7 @@
<link rel="stylesheet" href="/project/static/src/css/project.css"/>
<script type="text/javascript" src="/project/static/src/js/project.js"></script>
<script type="text/javascript" src="/project/static/src/js/project_task_kanban_examples.js"></script>
- <script type="text/javascript" src="/project/static/src/js/tour.js"></script>
+ <script type="text/javascript" src="/project/static/src/js/tours/project.js"></script>
<link rel="stylesheet" type="text/scss" href="/project/static/src/scss/project_dashboard.scss"/>
</xpath>
</template>