diff options
| author | Romain Derie <rde@odoo.com> | 2019-06-07 09:41:07 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-06-11 18:08:31 +0000 |
| commit | 33e0acb2acc41ada3351522ba7dfdd149d354d11 (patch) | |
| tree | 636af55c03f4e5f47a301308ce74759823226863 /odoo/addons/test_new_api/static | |
| parent | 57d0ef5b0d7b2962468ccd5b978dc7353a64d494 (diff) | |
[IMP] base, http, web: do not start tests in debug mode
It seems to be a better solution to keep starting tests without being in debug
mode to avoid having new fields and menus appearing.
This commit simply drop the debug mode in test mode and retrieve the test
assets by checking if test mode is enabled directly.
closes odoo/odoo#34012
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'odoo/addons/test_new_api/static')
| -rw-r--r-- | odoo/addons/test_new_api/static/tests/tours/x2many.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/test_new_api/static/tests/tours/x2many.js b/odoo/addons/test_new_api/static/tests/tours/x2many.js index ae4c0e3c8d3..f1683d09c69 100644 --- a/odoo/addons/test_new_api/static/tests/tours/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#action=test_new_api.action_discussions', + url: '/web?debug=1#action=test_new_api.action_discussions', test: true, }, [ ///////////////////////////////////////////////////////////////////////////////////////////// |
