Merge pull request #365 from dod-ccpo/reduce-alerts-on-financial-form
Reduce alerts on financial form
This commit is contained in:
@@ -151,6 +151,10 @@ class FinancialForm(BaseFinancialForm):
|
||||
def is_missing_task_order_number(self):
|
||||
return "task_order_number" in self.errors
|
||||
|
||||
@property
|
||||
def is_only_missing_task_order_number(self):
|
||||
return "task_order_number" in self.errors and len(self.errors) == 1
|
||||
|
||||
|
||||
class ExtendedFinancialForm(BaseFinancialForm):
|
||||
def validate(self, *args, **kwargs):
|
||||
|
Reference in New Issue
Block a user