Add query for finding Task Orders that have not been sent to MS or that have been updated.

This commit is contained in:
leigh-mil
2020-01-31 14:34:55 -05:00
parent 03d6e7c21a
commit 6ec9fb34f9
3 changed files with 36 additions and 1 deletions

View File

@@ -322,6 +322,7 @@ class TaskOrderFactory(Base):
number = factory.LazyFunction(random_task_order_number)
signed_at = None
_pdf = factory.SubFactory(AttachmentFactory)
pdf_last_sent_at = None
@classmethod
def _create(cls, model_class, *args, **kwargs):
@@ -347,6 +348,7 @@ class CLINFactory(Base):
jedi_clin_type = factory.LazyFunction(
lambda *args: random.choice(list(clin.JEDICLINType))
)
last_sent_at = None
class NotificationRecipientFactory(Base):