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

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):