[FIX]GOLEM Activity default date_stop to date_end for season

This commit is contained in:
Fabien Bourgeois 2016-10-10 16:53:00 +02:00
parent 56721a1008
commit 22d3f91e0c

View File

@ -110,7 +110,7 @@ class GolemActivity(models.Model):
if not a.date_start:
a.date_start = a.season_id.date_start
if not a.date_stop:
a.date_stop = a.season_id.date_stop
a.date_stop = a.season_id.date_end
weekday = fields.Selection([('mon', _('Monday')),
('tue', _('Tuesday')),