Activités : inscription par créneau interne #41

Open
youssef wants to merge 15 commits from youssef/GOLEM:activites_inscription_par_creneau_interne into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 6916f60f3a - Show all commits

View File

@ -36,7 +36,7 @@ class GolemActivityRegistrationSlot(models.Model):
@api.constrains('hour_start', 'hour_stop')
def check_slot_hours(self):
""" Check slot hours consistence """
""" Check slot hours consistency """
for slot in self:
if slot.hour_start < slot.activity_id.hour_start or \
slot.hour_stop > slot.activity_id.hour_stop: