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

ERP5Type: make PropertyManager.getProperty support `checked_permission` argument

for compatibility with Base.checkProperty.
parent 65fc3168
......@@ -57,7 +57,7 @@ def PropertyManager_hasProperty(self, id, local_properties=False):
return 0
def PropertyManager_getProperty(self, id, d=None, evaluate=1,
local_properties=False):
local_properties=False, checked_permission=None):
"""Get the property 'id', returning the optional second
argument or None if no such property is found."""
property_type = self.getPropertyType(id,
......
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