[TMP] Check the date start ans date end related to season date

This commit is contained in:
michel 2018-01-29 22:57:03 +01:00 committed by Gitea
parent 03e56bd8e3
commit 163e4d2d1c

View File

@ -110,7 +110,7 @@ class GolemActivity(models.Model):
msg = _(u'End of the period is in range of an ' msg = _(u'End of the period is in range of an '
'existing period.') 'existing period.')
raise models.ValidationError(msg) raise models.ValidationError(msg)
git
@api.onchange('season_id') @api.onchange('season_id')
def _onchange_season_dates(self): def _onchange_season_dates(self):
""" Sets defaults dates according to season """ """ Sets defaults dates according to season """