forked from Yaltik/golem
[FIX]GOLEM Activity default date_stop to date_end for season
This commit is contained in:
parent
56721a1008
commit
22d3f91e0c
@ -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')),
|
||||
|
Loading…
Reference in New Issue
Block a user