Commit 3e532286 authored by iv's avatar iv

ERP5Workflow: update translation table after workflow conversion

This fixes testListboxToolBarDelete failure in testFunctionalKM
parent b534bc87
......@@ -588,6 +588,8 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
self._finalizeWorkflowConversion(dc_workflow)
# override temporary id:
workflow.setId(workflow.default_reference)
# update translation so that the catalog contains translated states, ...
self.getPortalObject().ERP5Site_updateTranslationTable()
return workflow
def reassignWorkflow(self, workflow_id):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment