Only claim a document is on the agenda if it is on the schedule for a
current or future telechat - Legacy-Id: 3909
This commit is contained in:
parent
36b8310f43
commit
12eaebbe09
|
@ -336,7 +336,7 @@ class InternetDraft(Document):
|
|||
@property
|
||||
def agenda(self):
|
||||
e = self.latest_event(TelechatDocEvent, type="scheduled_for_telechat")
|
||||
return bool(e and e.telechat_date)
|
||||
return bool(e and e.telechat_date and e.telechat_date >= datetime.date.today())
|
||||
|
||||
#cur_state = models.ForeignKey(IDState, db_column='cur_state', related_name='docs')
|
||||
@property
|
||||
|
|
Loading…
Reference in a new issue