PURPOSE Before this commit to activate the sub-menu, the tracks and the track proposal you had to do it on the event form view. After this commit you'll have to go on the event website page to change those options (through the customize dropdown) SPECIFICATION Remove the 'website_menu' / 'website_track' / 'website_track_proposal' from the event form view and create a toggle option in the customize dropdown on the event website page instead. LINKS Task ID : 2198660 PR : #46659
30 lines
1.5 KiB
XML
30 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="assets_common" inherit_id="web.assets_common" name="Event Assets Common">
|
|
<xpath expr="//script[last()]" position="after">
|
|
<script type="text/javascript" src="/website_event/static/src/js/tours/event_tour.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="assets_frontend" inherit_id="website.assets_frontend" name="Event Assets Frontend">
|
|
<xpath expr="//link[last()]" position="after">
|
|
<link rel="stylesheet" type="text/scss" href="/website_event/static/src/scss/website_event.scss"/>
|
|
</xpath>
|
|
<xpath expr="//script[last()]" position="after">
|
|
<script type="text/javascript" src="/website_event/static/src/js/website_geolocation.js"></script>
|
|
<script type="text/javascript" src="/website_event/static/src/js/website_event.js"></script>
|
|
<script type="text/javascript" src="/website_event/static/src/js/website_event_ticket_details.js"></script>
|
|
<script type="text/javascript" src="/website_event/static/src/js/website_event_set_customize_options.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="assets_editor" inherit_id="website.assets_editor" name="Event Assets Editor">
|
|
<xpath expr="." position="inside">
|
|
<script type="text/javascript" src="/website_event/static/src/js/website_event.editor.js"></script>
|
|
<script type="text/javascript" src="/website_event/static/src/js/tours/website_event.js"></script>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|