From 163e4d2d1c039bdda9b7579d86ac9f364bc6724b Mon Sep 17 00:00:00 2001 From: michel Date: Mon, 29 Jan 2018 22:57:03 +0100 Subject: [PATCH] [TMP] Check the date start ans date end related to season date --- golem_activity/models/golem_activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golem_activity/models/golem_activity.py b/golem_activity/models/golem_activity.py index 26582dc..b9a26e8 100644 --- a/golem_activity/models/golem_activity.py +++ b/golem_activity/models/golem_activity.py @@ -110,7 +110,7 @@ class GolemActivity(models.Model): msg = _(u'End of the period is in range of an ' 'existing period.') raise models.ValidationError(msg) -git + @api.onchange('season_id') def _onchange_season_dates(self): """ Sets defaults dates according to season """