[TMP] msg
This commit is contained in:
parent
163e4d2d1c
commit
31632cad9b
@ -103,11 +103,11 @@ class GolemActivity(models.Model):
|
||||
raise models.ValidationError(_('Start of the period cannot be '
|
||||
'after end of the period.'))
|
||||
if activity.season_id.date_start > activity.date_start < activity.season_id.date_end:
|
||||
msg = _(u'Start of the period is in range of an '
|
||||
msg = _(u'Start of the activity is not in range of an '
|
||||
'existing period.')
|
||||
raise models.ValidationError(msg)
|
||||
if activity.season_id.date_end < activity.date_stop > activity.season_id.date_start:
|
||||
msg = _(u'End of the period is in range of an '
|
||||
msg = _(u'End of the activity is not in range of an '
|
||||
'existing period.')
|
||||
raise models.ValidationError(msg)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user