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_track. SPECIFICATIONS Move remaining content of website event online to website event. Update dependencies accordingly. LINKS Task ID-2319779 COM odoo/odoo#56067 ENT odoo/enterprise#12520 UPG odoo/upgrade#1654
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<odoo><data>
|
|
<record id="event_registration_action_from_visitor" model="ir.actions.act_window">
|
|
<field name="name">Registrations</field>
|
|
<field name="res_model">event.registration</field>
|
|
<field name="view_mode">kanban,tree,form</field>
|
|
<field name="domain">[('visitor_id', 'in', [active_id])]</field>
|
|
<field name="help" type="html">
|
|
<p class="o_view_nocontent_empty_folder">
|
|
No registration linked to this visitor
|
|
</p>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="event_registration_view_form" model="ir.ui.view">
|
|
<field name="name">event.registration.view.form.inherit.online</field>
|
|
<field name="model">event.registration</field>
|
|
<field name="inherit_id" ref="event.view_event_registration_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='partner_id']" position="after">
|
|
<field name="visitor_id" groups="base.group_no_one"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="event_registration_view_tree" model="ir.ui.view">
|
|
<field name="name">event.registration.view.tree.inherit.online</field>
|
|
<field name="model">event.registration</field>
|
|
<field name="inherit_id" ref="event.view_event_registration_tree"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='partner_id']" position="after">
|
|
<field name="visitor_id" optional="hide" groups="base.group_no_one"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</data></odoo>
|