Commit fa35d65b authored by Sebastien Robin's avatar Sebastien Robin

add method in order to know which suffix should be used

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43806 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent baed60be
......@@ -59,6 +59,10 @@ def IdAsReferenceMixin(suffix):
" property sheet, due to pending activities" %
(new_id, parent.getId()))
security.declareProtected(Permissions.AccessContentsInformation,
'getIdAsReferenceSuffix')
def getIdAsReferenceSuffix(self):
return suffix
security.declareProtected(Permissions.AccessContentsInformation,
'getReference')
......
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