Commit af80fb5c authored by Jérome Perrin's avatar Jérome Perrin

define getExplanationValue to silent errors during indexation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37294 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 44751ebd
...@@ -132,3 +132,8 @@ class BudgetCell(Predicate, MetaNode, Movement): ...@@ -132,3 +132,8 @@ class BudgetCell(Predicate, MetaNode, Movement):
"Did not find engaged budget script for portal type: %r" % \ "Did not find engaged budget script for portal type: %r" % \
self.getPortalType() self.getPortalType()
security.declareProtected(Permissions.AccessContentsInformation,
'getExplanationValue')
def getExplanationValue(self, default=None):
"""Explanation has no meaning for a budget cell"""
return default
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