Commit ae43dd88 authored by Łukasz Nowak's avatar Łukasz Nowak

- extend categories used by BPM system


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c3f1f4ec
......@@ -98,7 +98,9 @@ class BusinessPath(Path):
of this Arrow
"""
# Naive implementation - we must use category groups instead - XXX
return ('source', 'source_section', 'source_payment', 'source_project', )
return ('source', 'source_section', 'source_payment', 'source_project',
'source_administration', 'source_project', 'source_function',
'source_payment', 'source_account')
security.declareProtected(Permissions.AccessContentsInformation, 'getDestinationBaseCategoryList')
def getDestinationBaseCategoryList(self):
......@@ -107,7 +109,9 @@ class BusinessPath(Path):
of this Arrow
"""
# Naive implementation - we must use category groups instead - XXX
return ('destination', 'destination_section', 'destination_payment', 'destination_project', )
return ('destination', 'destination_section', 'destination_payment', 'destination_project',
'destination_administration', 'destination_project', 'destination_function',
'destination_payment', 'destination_account')
# ICategoryAccessProvider overriden methods
def _getCategoryMembershipList(self, category, **kw):
......
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