diff --git a/golem_activity_session_registration/models/golem_activity_session_registration.py b/golem_activity_session_registration/models/golem_activity_session_registration.py index 521e2de..304ff2e 100644 --- a/golem_activity_session_registration/models/golem_activity_session_registration.py +++ b/golem_activity_session_registration/models/golem_activity_session_registration.py @@ -84,7 +84,3 @@ class GolemActivitySessionRegistration(models.Model): """ Compute default season """ domain = [('is_default', '=', True)] self.season_default_id = self.env['golem.season'].search(domain).id - # if 'default_season_id' not in self.env.context: - # ctx = self.env.context.copy() - # ctx.update({'default_season_id': self._default_season()}) - # self.with_context(ctx) diff --git a/golem_activity_session_registration/views/golem_activity_view.xml b/golem_activity_session_registration/views/golem_activity_view.xml index f62e8bb..a86861f 100644 --- a/golem_activity_session_registration/views/golem_activity_view.xml +++ b/golem_activity_session_registration/views/golem_activity_view.xml @@ -31,7 +31,17 @@ along with this program. If not, see . - + + + + + + + + +