summaryrefslogtreecommitdiff
path: root/addons/event/models/__init__.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2020-01-09 14:29:26 +0000
committerThibault Delavallée <tde@odoo.com>2020-01-10 16:06:40 +0000
commitabcd6c15cf27d0e5da77b2e08a742f40e11c4e84 (patch)
tree123ce41b18972f5cd4ad65a24215499fe4877866 /addons/event/models/__init__.py
parent59e5c8630fef744de7d1f4cdd648edd809507c6d (diff)
[MOV] (website_)event(_sale/_question/_track): split main model files
PURPOSE As event will soon evolve (onchange -> compute, code improvements, addition of new features) cleaning and improving tests is necessary to help avoid issues. SPECIFICATIONS As event model grow in complexity and features, it is easier to find its way through the application with having registration model lying in its own file to separate it from event-specific models (event.type, event.event). Ticket (event_sale) and sponsor (website_event_track) models are also extracted in their own file. LINKS LINKS Side effect of Task ID 2089156 (event onchange to compute) Community PR odoo/odoo#43127 Enterprise PR odoo/enterprise#7656
Diffstat (limited to 'addons/event/models/__init__.py')
-rw-r--r--addons/event/models/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/event/models/__init__.py b/addons/event/models/__init__.py
index 750d7b5de79..727b34645d7 100644
--- a/addons/event/models/__init__.py
+++ b/addons/event/models/__init__.py
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from . import event
+from . import event_event
from . import event_mail
+from . import event_registration
from . import event_stage
from . import res_config_settings
from . import res_partner