[IMP] fields.py: removed unnecessary initialization.

bzr revid: vmt@openerp.com-20110711131804-1p9qk2j9zp2uuevy
This commit is contained in:
Vo Minh Thu 2011-07-11 15:18:04 +02:00
parent 2fe91df6ad
commit 5265ceeffc
1 changed files with 0 additions and 1 deletions

View File

@ -1228,7 +1228,6 @@ class property(function):
:rtype: dict
"""
prop = obj.pool.get('ir.property')
default_value = {}.fromkeys(prop_names, False)
for prop_name in prop_names:
default_value[prop_name] = prop.get(cr, uid, prop_name, obj._name, context=context)
return default_value