diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index d22443bfaaf029df42adea74defe14ef9a99bb6a..0ad8c51a99d49c10e95be541dd7a4cbd7145b63b 100644 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -1479,7 +1479,8 @@ class PortalTypeWorkflowChainTemplateItem(BaseTemplateItem): else: self._objects[portal_type] = [workflow,] elif not self.is_bt_for_diff: - raise NotFound, 'portal type %s not found in workflow chain'\ + raise NotFound, 'No workflow chain found for portal type %s. This '\ + 'is probably a sign of a missing dependancy.'\ % portal_type # Function to generate XML Code Manually