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

ERP5Type: make PropertyManager.getProperty support `checked_permission` argument

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