Add property to TO that returns a list of the officers
This commit is contained in:
parent
3182f3438e
commit
e3956180b4
@ -221,6 +221,14 @@ class TaskOrder(Base, mixins.TimestampsMixin):
|
|||||||
"""
|
"""
|
||||||
return self.so_invite and not self.security_officer
|
return self.so_invite and not self.security_officer
|
||||||
|
|
||||||
|
@property
|
||||||
|
def officers(self):
|
||||||
|
return [
|
||||||
|
self.contracting_officer,
|
||||||
|
self.contracting_officer_representative,
|
||||||
|
self.security_officer,
|
||||||
|
]
|
||||||
|
|
||||||
_OFFICER_PREFIXES = {
|
_OFFICER_PREFIXES = {
|
||||||
"contracting_officer": "ko",
|
"contracting_officer": "ko",
|
||||||
"contracting_officer_representative": "cor",
|
"contracting_officer_representative": "cor",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user