summaryrefslogtreecommitdiff
path: root/addons/event_sms
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_sms
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_sms')
-rw-r--r--addons/event_sms/models/__init__.py2
-rw-r--r--addons/event_sms/models/event_registration.py (renamed from addons/event_sms/models/event.py)0
2 files changed, 1 insertions, 1 deletions
diff --git a/addons/event_sms/models/__init__.py b/addons/event_sms/models/__init__.py
index b8ced32a4d7..95c3bd06c29 100644
--- a/addons/event_sms/models/__init__.py
+++ b/addons/event_sms/models/__init__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
-from . import event
from . import event_mail
+from . import event_registration
diff --git a/addons/event_sms/models/event.py b/addons/event_sms/models/event_registration.py
index d8be5a5390a..d8be5a5390a 100644
--- a/addons/event_sms/models/event.py
+++ b/addons/event_sms/models/event_registration.py