Commit 6cd43432 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove duplicates and add missings from PropertySheet.Arrow definition.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31116 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c54b6f1b
...@@ -100,9 +100,19 @@ class BusinessPath(Path): ...@@ -100,9 +100,19 @@ class BusinessPath(Path):
of this Arrow of this Arrow
""" """
# Naive implementation - we must use category groups instead - XXX # Naive implementation - we must use category groups instead - XXX
return ('source', 'source_section', 'source_payment', 'source_project', return ('source',
'source_administration', 'source_project', 'source_function', 'source_account',
'source_payment', 'source_account') 'source_administration',
'source_advice',
'source_carrier',
'source_decision',
'source_function',
'source_payment',
'source_project',
'source_referral',
'source_section',
'source_trade',
'source_transport')
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getDestinationArrowBaseCategoryList') 'getDestinationArrowBaseCategoryList')
...@@ -112,9 +122,19 @@ class BusinessPath(Path): ...@@ -112,9 +122,19 @@ class BusinessPath(Path):
of this Arrow of this Arrow
""" """
# Naive implementation - we must use category groups instead - XXX # Naive implementation - we must use category groups instead - XXX
return ('destination', 'destination_section', 'destination_payment', 'destination_project', return ('destination',
'destination_administration', 'destination_project', 'destination_function', 'destination_account',
'destination_payment', 'destination_account') 'destination_administration',
'destination_advice',
'destination_carrier',
'destination_decision',
'destination_function',
'destination_payment',
'destination_project',
'destination_referral',
'destination_section',
'destination_trade',
'destination_transport')
# ICategoryAccessProvider overridden methods # ICategoryAccessProvider overridden methods
def _getCategoryMembershipList(self, category, **kw): 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