diff options
| author | Kirti Choudhary <kic@odoo.com> | 2017-10-19 16:58:06 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-08-17 15:33:40 +0200 |
| commit | 80118dd8a24249e5e008eae1178fccfc9ba68fb4 (patch) | |
| tree | 76a8ebf4034008cd8fc50ca910ef5b7c4682ec05 /addons/document/views/document_templates.xml | |
| parent | 9f1534ee8cbc92897b46cf75dc81bfa66037c423 (diff) | |
[IMP] document: added QUnit testcase
note: backport 562d467 from saas-11.2 to 11.0 to add a similar test
related to #26213
Diffstat (limited to 'addons/document/views/document_templates.xml')
| -rw-r--r-- | addons/document/views/document_templates.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/document/views/document_templates.xml b/addons/document/views/document_templates.xml index abb2d13f2fc..1b7b999fdd1 100644 --- a/addons/document/views/document_templates.xml +++ b/addons/document/views/document_templates.xml @@ -5,4 +5,10 @@ <script type="text/javascript" src="/document/static/src/js/document.js"></script> </xpath> </template> + + <template id="qunit_suite" name="document tests" inherit_id="web.qunit_suite"> + <xpath expr="//script[last()]" position="after"> + <script type="text/javascript" src="/document/static/tests/document_tests.js"/> + </xpath> + </template> </odoo> |
