PURPOSE Clean organization and models linked to Event Online feature introduced in semi stable saas-13.3 at odoo/odoo@981f95bbf4 and odoo/enterprise@14722028ae Also clean website event menu not being available in website event but only in website event track, which implies some extra-code to manage it. In short: merge website_event_online in website_event, website_event_track _(online/session) in website_event_track. RATIONALE _online modules have been added to extend content of website_event and website_event_track without having any impact on those module. First step of cleaning is to move this content directly in base module. track_session module is mainly a rewrite of track module. Second step of cleaning is to move its content directly in website_event_trackit. SPECIFICATIONS Quickly reorganize some bits of code in website_event_track module to ease future integration of code from _online sub-modules. It also helps understanding and finding its way through the module. Split python files by model: notably event.track sub models inside their own file to better follow future modifications. Reorganize templates by main use * _agenda: agenda view of tracks; * _list: views of tracks, list-based; * _page: a specific view of track, page-based; * move side templates in side files; * reorganize fields and add separators as this model will soon gain a lot of fields; * reorganize controllers to separate them by main use; LINKS Task ID-2319779 COM odoo/odoo#56067 ENT odoo/enterprise#12520 UPG odoo/upgrade#1654
11 lines
360 B
XML
11 lines
360 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="track_edit_options" inherit_id="website.user_navbar" name="Edit Track Options">
|
|
<xpath expr="//li[@id='edit-page-menu']" position="after">
|
|
<t t-if="main_object._name == 'event.track'" t-set="action" t-value="'website_event_track.action_event_track'" />
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|