show request name where appropriate and set as default workspace name

This commit is contained in:
dandds
2018-09-19 09:54:06 -04:00
parent ec5c3e8ce8
commit 8fc5a4a092
9 changed files with 15 additions and 9 deletions

View File

@@ -213,3 +213,7 @@ class Request(Base):
or self.is_pending_financial_verification_changes
or self.is_approved
) and self.task_order
@property
def displayname(self):
return self.latest_revision.name or self.id