Commit e90b1105 authored by Romain Courteaud's avatar Romain Courteaud

Add evaluate parameter.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8384 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 93f5487d
...@@ -90,7 +90,7 @@ class MappedValue(Predicate, Amount): ...@@ -90,7 +90,7 @@ class MappedValue(Predicate, Amount):
Predicate._edit(self, REQUEST=REQUEST, force_update = force_update, **kw) Predicate._edit(self, REQUEST=REQUEST, force_update = force_update, **kw)
security.declareProtected( Permissions.AccessContentsInformation, 'getProperty' ) security.declareProtected( Permissions.AccessContentsInformation, 'getProperty' )
def getProperty(self, key, d=None): def getProperty(self, key, d=None, evaluate=1):
""" """
Generic accessor. First we check if the value Generic accessor. First we check if the value
exists. Else we call the real accessor exists. Else we call the real accessor
......
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