[FIX] res_users: set login_date as datetime instead of date
To allow display the login date according to the timezone of the user
This commit is contained in:
@@ -163,7 +163,7 @@ class res_users(osv.osv):
|
||||
|
||||
_columns = {
|
||||
'id': fields.integer('ID'),
|
||||
'login_date': fields.date('Latest connection', select=1),
|
||||
'login_date': fields.datetime('Latest connection', select=1),
|
||||
'partner_id': fields.many2one('res.partner', required=True,
|
||||
string='Related Partner', ondelete='restrict',
|
||||
help='Partner-related data of the user', auto_join=True),
|
||||
|
||||
Reference in New Issue
Block a user