forked from Yaltik/golem
[TMP] Check the date start ans date end related to season date
This commit is contained in:
parent
ddfedce0cf
commit
03e56bd8e3
@ -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 """
|
||||||
|
Loading…
Reference in New Issue
Block a user