diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-03-31 14:27:48 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-04-07 14:40:53 +0000 |
| commit | 48ee7272b60c17d88e099bf4f72bff00fa5ef50b (patch) | |
| tree | df7efb5091e6e7a0cd122e694aa9ad849b0a5aba /addons/barcodes | |
| parent | 89dbb492359279b4e3014f9bb7b7614ea714c36e (diff) | |
[IMP] *: adapt qunit suite bundle inheritance
Since the test assets bundle name has been changed and its structure is different,
the inheriting assets need to be updated.
Task 2002399
Diffstat (limited to 'addons/barcodes')
| -rw-r--r-- | addons/barcodes/views/barcodes_templates.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/barcodes/views/barcodes_templates.xml b/addons/barcodes/views/barcodes_templates.xml index 45b77bd3301..fbc78f80afe 100644 --- a/addons/barcodes/views/barcodes_templates.xml +++ b/addons/barcodes/views/barcodes_templates.xml @@ -10,14 +10,14 @@ </xpath> </template> - <template id="qunit_suite" name="barcode_tests" inherit_id="web.qunit_suite"> - <xpath expr="//t[@t-set='head']" position="inside"> + <template id="qunit_suite" name="barcode_tests" inherit_id="web.qunit_suite_tests"> + <xpath expr="." position="inside"> <script type="text/javascript" src="/barcodes/static/tests/barcode_tests.js"/> </xpath> </template> - <template id="qunit_mobile_suite" name="barcode_mobile_tests" inherit_id="web.qunit_mobile_suite"> - <xpath expr="//t[@t-set='head']" position="inside"> + <template id="qunit_mobile_suite" name="barcode_mobile_tests" inherit_id="web.qunit_mobile_suite_tests"> + <xpath expr="." position="inside"> <script type="text/javascript" src="/barcodes/static/tests/barcode_mobile_tests.js"></script> </xpath> </template> |
