xxx
parent
b86e85056f
commit
ae518c9be3
|
@ -122,6 +122,9 @@ class VisitBoard(Model):
|
||||||
for pc in pt.cycles:
|
for pc in pt.cycles:
|
||||||
w=DAYS.get(pc.day,0) #default monday
|
w=DAYS.get(pc.day,0) #default monday
|
||||||
cycle=pc.cycle_id
|
cycle=pc.cycle_id
|
||||||
|
if not cycle:
|
||||||
|
continue
|
||||||
|
#raise Exception('cycle setting for %s is not correct!'%(pt.name))
|
||||||
department=pc.department_id
|
department=pc.department_id
|
||||||
if weekday==w:
|
if weekday==w:
|
||||||
dom2=[
|
dom2=[
|
||||||
|
|
Loading…
Reference in New Issue