Commit ad3f7675 authored by Romain Courteaud's avatar Romain Courteaud

_baseGet[...]List has to call ListGetter accessor.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7185 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1f70580b
......@@ -1549,7 +1549,7 @@ def createDefaultAccessors(property_holder, id, prop = None,
property_holder.security.declareProtected( read_permission, accessor_name )
accessor_name = '_baseGet' + UpperCase(id) + 'List'
if not hasattr(property_holder, accessor_name) or prop.get('override',0):
setattr(property_holder, accessor_name, set_accessor.dummy_copy(accessor_name))
setattr(property_holder, accessor_name, list_accessor.dummy_copy(accessor_name))
accessor_name = 'get' + UpperCase(id) + 'Set'
if not hasattr(property_holder, accessor_name) or prop.get('override',0):
setattr(property_holder, accessor_name, set_accessor.dummy_copy(accessor_name))
......
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