The google_drive module has not been converted to the new Odoo Javascript framework, and hence was not even started. This commit corrects that. The logic is essentially the same as in previous versions The test implemented contains an inevitable hack that makes sure no other test is affected, in particular by the new route that the module calls (and that any Sidebar will call) OPW 801145 closes #21993
17 lines
695 B
XML
17 lines
695 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="assets_backend" name="google_drive assets" inherit_id="web.assets_backend">
|
|
<xpath expr="." position="inside">
|
|
<link rel="stylesheet" href="/google_drive/static/src/css/google_drive.css" />
|
|
<script type="text/javascript" src="/google_drive/static/src/js/gdrive.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="qunit_suite" name="google_drive tests" inherit_id="web.qunit_suite">
|
|
<xpath expr="//t[@t-set='head']" position="inside">
|
|
<script type="text/javascript" src="/google_drive/static/tests/gdrive_test.js"></script>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|