[IMP] fields.py: removed unnecessary initialization.
bzr revid: vmt@openerp.com-20110711131804-1p9qk2j9zp2uuevy
This commit is contained in:
parent
2fe91df6ad
commit
5265ceeffc
|
@ -1228,7 +1228,6 @@ class property(function):
|
||||||
:rtype: dict
|
:rtype: dict
|
||||||
"""
|
"""
|
||||||
prop = obj.pool.get('ir.property')
|
prop = obj.pool.get('ir.property')
|
||||||
default_value = {}.fromkeys(prop_names, False)
|
|
||||||
for prop_name in prop_names:
|
for prop_name in prop_names:
|
||||||
default_value[prop_name] = prop.get(cr, uid, prop_name, obj._name, context=context)
|
default_value[prop_name] = prop.get(cr, uid, prop_name, obj._name, context=context)
|
||||||
return default_value
|
return default_value
|
||||||
|
|
Loading…
Reference in New Issue