mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: JS tour on test assets
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
ea928628bb
commit
5667977264
@@ -46,6 +46,5 @@
|
|||||||
"views/contract_terminate_reason.xml",
|
"views/contract_terminate_reason.xml",
|
||||||
"views/contract_portal_templates.xml",
|
"views/contract_portal_templates.xml",
|
||||||
],
|
],
|
||||||
"demo": ["demo/assets.xml"],
|
|
||||||
"installable": True,
|
"installable": True,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<!-- License AGPL-3.0 (http://www.gnu.org/licenses/agpl.html). -->
|
|
||||||
<odoo>
|
|
||||||
<template id="contract_frontend_demo" inherit_id="web.assets_frontend">
|
|
||||||
<xpath expr="//script[last()]" position="after">
|
|
||||||
<script
|
|
||||||
type="text/javascript"
|
|
||||||
src="/contract/static/src/js/contract_portal_tour.js"
|
|
||||||
/>
|
|
||||||
</xpath>
|
|
||||||
</template>
|
|
||||||
</odoo>
|
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
|
<!-- Copyright 2020 Tecnativa - Ernesto Tejeda
|
||||||
|
Copyright 2020 Tecnativa - Víctor Martínez
|
||||||
|
Copyright 2020 Tecnativa - Pedro M. Baeza
|
||||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||||
<odoo>
|
<odoo>
|
||||||
<template
|
<template
|
||||||
@@ -14,4 +16,12 @@
|
|||||||
/>
|
/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
<template id="assets_tests" inherit_id="web.assets_tests">
|
||||||
|
<xpath expr="." position="inside">
|
||||||
|
<script
|
||||||
|
type="text/javascript"
|
||||||
|
src="/contract/static/src/js/contract_portal_tour.js"
|
||||||
|
/>
|
||||||
|
</xpath>
|
||||||
|
</template>
|
||||||
</odoo>
|
</odoo>
|
||||||
|
|||||||
Reference in New Issue
Block a user