Fixed condition check problem introduced with adjustments to setting the returning item bit. Fixes bug #1505. Commit ready to merge.
- Legacy-Id: 8444
This commit is contained in:
parent
c4fb9b5bd5
commit
41f0905689
|
@ -859,7 +859,7 @@ def telechat_date(request, name):
|
|||
initial_returning_item = bool(e and e.returning_item)
|
||||
|
||||
prompts = []
|
||||
if e and doc.type.slug != 'charter':
|
||||
if e and e.telechat_date and doc.type.slug != 'charter':
|
||||
if e.telechat_date==datetime.date.today():
|
||||
prompts.append( "This document is currently scheduled for today's telechat. "
|
||||
+"Please set the returning item bit carefully.")
|
||||
|
|
Loading…
Reference in a new issue