RATIONALE Events are sometimes held online, gathering a community. In this merge we improve Event application to better support full-online events with improved tracks, wishlists, chat rooms, ... PURPOSE Allow visitors and logged users to wishlist tracks and link tracks to visitors. Purpose is to improve engagement and promote tracks before an event. SPECIFICATIONS: TRACK WISHLIST Add a link between visitors or partners, and tracks. This link is done in a new many2many relationship build on event.track.visitor new model. It is used to store the wishlist flag. That way even public users can wishlist a track using their visitor. At login, information is propagated to their partner. It means that wishlist are saved if customer logs in or registers. We also add a widget for frontend pages. It allows to toggle the wishlist flag on tracks. It is based on visitor and/or current user, leading to a complete flow even for anonymous people. We allow to set some tracks as "keynotes". Those are considered as wishlisted by default. In order to avoid storing too much information, we do not create an entry in the wishlist table for each attendee. We simply consider all event attendees to have wishlisted this track by default. In order to be able to mute a keynote, a blacklist mechanism is implemented. Using the same relationship table between visitors or partners and tracks, a flag is added that blacklists the track. Fields are added on visitor allowing to dynamically build a domain to find visitors that wishlisted a track (or did not blacklist list in case of default wishlist). This could be used for example to automatically contact attendees before a track, like what is done in enterprise counterpart of this merge. LINKS Community PR #53540 Enterprise PR odoo/enterprise#11384 Task ID-2252655 (Main Online Event task) Task ID-2283796 (Event B2Basics / Registration Flow Task ID-2284043 (Visitor-based track wishlist) Task ID-2283869 (Notify attendees by push) Co-Authored-By: Aurélien Warnon <awa@odoo.com> Co-Authored-By: David Beguin <dbe@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
7 lines
167 B
Python
7 lines
167 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import controllers
|
|
from . import models
|
|
from . import tests
|