[REV] Revert Revision#6353: Will use __last_update instead of write_date
bzr revid: fme@openerp.com-20120117202859-uoo6jw9nilfxs33b
This commit is contained in:
parent
360d738788
commit
da0522edb7
|
@ -175,7 +175,6 @@ class hr_employee(osv.osv):
|
|||
'color': fields.integer('Color Index'),
|
||||
'city': fields.related('address_id', 'city', type='char', string='City'),
|
||||
'login': fields.related('user_id', 'login', type='char', string='Login', readonly=1),
|
||||
'write_date': fields.datetime('Update Date' , readonly=True),
|
||||
}
|
||||
|
||||
def unlink(self, cr, uid, ids, context=None):
|
||||
|
|
|
@ -513,7 +513,6 @@ class product_product(osv.osv):
|
|||
'name_template': fields.related('product_tmpl_id', 'name', string="Name", type='char', size=128, store=True, select=True),
|
||||
'color': fields.integer('Color Index'),
|
||||
'product_image': fields.binary('Image'),
|
||||
'write_date': fields.datetime('Update Date' , readonly=True),
|
||||
}
|
||||
|
||||
def unlink(self, cr, uid, ids, context=None):
|
||||
|
|
Loading…
Reference in New Issue