summaryrefslogtreecommitdiff
path: root/addons/event/models/res_config_settings.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-08-21 13:34:37 +0000
committerThibault Delavallée <tde@odoo.com>2020-08-21 17:30:13 +0000
commit4bbb36bd7fbd4e4371e860b36a9eb2ce9b4eaf1f (patch)
tree7366dc933315a88db6aefcd6a1286194dbb27476 /addons/event/models/res_config_settings.py
parentde8a5652b27da2f659b1378831c6d712ff40b488 (diff)
[IMP] (website_)event: ease configuration of Online features
PURPOSE Clean organization and models linked to Event Online feature introduced in semi stable saas-13.3 at odoo/odoo@981f95b and odoo/enterprise@1472202 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 Allow to configure Menu CTA button on event from event_type, like other frontend related menus and buttons. Add settings to ease discovering and installing sub event features like * meet; * exhibitor; * live mode; * quizzes; LINKS Task ID-2319779 COM odoo/odoo#56067 ENT odoo/enterprise#12520 UPG odoo/upgrade#1654
Diffstat (limited to 'addons/event/models/res_config_settings.py')
-rw-r--r--addons/event/models/res_config_settings.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/addons/event/models/res_config_settings.py b/addons/event/models/res_config_settings.py
index 69201cdbd2d..15af322830c 100644
--- a/addons/event/models/res_config_settings.py
+++ b/addons/event/models/res_config_settings.py
@@ -6,7 +6,11 @@ class ResConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
module_event_sale = fields.Boolean("Tickets")
+ module_website_event_meet = fields.Boolean("Discussion Rooms")
module_website_event_track = fields.Boolean("Tracks and Agenda")
+ module_website_event_track_live = fields.Boolean("Live Mode")
+ module_website_event_track_quiz = fields.Boolean("Quiz on Tracks")
+ module_website_event_track_exhibitor = fields.Boolean("Advanced Sponsors")
module_website_event_questions = fields.Boolean("Registration Survey")
module_event_barcode = fields.Boolean("Barcode")
module_website_event_sale = fields.Boolean("Online Ticketing")