[ADD] Add write_date to hr.employee and product.product in order to allow image reloading in kanban views
bzr revid: fme@openerp.com-20120117134713-uewdqmv08r6r5hmq
This commit is contained in:
parent
56fb6cba85
commit
a76f9d6112
|
@ -175,6 +175,7 @@ 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,6 +513,7 @@ 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