Merge pull request #594 from dod-ccpo/pdf-persistence

Pass existing task order to the Form
This commit is contained in:
leigh-mil 2019-02-04 11:44:42 -05:00 committed by GitHub
commit b27e3cb726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ class UpdateTaskOrderWorkflow(ShowTaskOrderWorkflow):
if "unclassified_form" in self._section and not app.config.get("CLASSIFIED")
else "form"
)
self._form = self._section[form_type](self.form_data)
self._form = self._section[form_type](self.form_data, obj=self.task_order)
@property
def form(self):