[IMP]ir_property: remove override name_get method
bzr revid: jpr@tinyerp.com-20140506084138-icrmht6081fjlrbb
This commit is contained in:
parent
8a0befcc4c
commit
41ca72726c
|
@ -113,11 +113,6 @@ class ir_property(osv.osv):
|
|||
values[field] = value
|
||||
return values
|
||||
|
||||
def name_get(self, cr, uid, ids, context=None):
|
||||
if not ids:
|
||||
return []
|
||||
return [(rec.id, rec.name or rec.fields_id.field_description) for rec in self.browse(cr, uid, ids, context=context)]
|
||||
|
||||
def write(self, cr, uid, ids, values, context=None):
|
||||
return super(ir_property, self).write(cr, uid, ids, self._update_values(cr, uid, ids, values), context=context)
|
||||
|
||||
|
|
Loading…
Reference in New Issue