Commit 5de79e55 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Use the default _setProperty defined in ERP5Type.Base as fallback instead of

trying to call only one single accessor.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3994 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dad916af
......@@ -172,9 +172,8 @@ identify a bank account."""
#except:
# LOG("WARNING: ERP5", 0, 'Could not set mapped value property %s' % key)
# return
accessor_name = 'set' + UpperCase(key)
method = getattr(self, accessor_name)
return method(value, **kw)
return Predicate._setProperty(self, key, value, type=type, **kw)
# Compatibility method
def getMappedValuePropertyList(self, *args):
......
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