diff --git a/golem_activity/models/golem_activity.py b/golem_activity/models/golem_activity.py
index f448bee..f8563d0 100644
--- a/golem_activity/models/golem_activity.py
+++ b/golem_activity/models/golem_activity.py
@@ -48,18 +48,16 @@ class GolemActivity(models.Model):
full_name = fields.Char('Name', compute='_compute_full_name', store=True,
index=True)
is_fullseason = fields.Boolean('Is full season?',
- compute='_compute_is_full_season', default=True)
+ compute='_compute_is_full_season')
- @api.multi
@api.depends('date_start', 'date_stop')
def _compute_is_full_season(self):
""" Display date for is full season """
for activity in self:
if activity.date_start == activity.season_id.date_start and \
activity.date_stop == activity.season_id.date_end:
- activity.is_fullseason = False
+ activity.is_fullseason = True
- @api.multi
@api.depends('name', 'default_code')
def _compute_full_name(self):
""" Provide a better displayed name """
diff --git a/golem_activity/views/golem_activity_views.xml b/golem_activity/views/golem_activity_views.xml
index eb5901e..f961f60 100644
--- a/golem_activity/views/golem_activity_views.xml
+++ b/golem_activity/views/golem_activity_views.xml
@@ -64,10 +64,10 @@ along with this program. If not, see .
attrs="{'invisible':[('is_recurrent', '=', False)]}" />
+ ('is_fullseason', '=', True)]}" />
+ ('is_fullseason', '=', True)]}" />