@ -32,7 +32,8 @@ This creates a new table and a function field to avoid this.
""",
"website": "http://camptocamp.com",
"depends": ['base'],
"data": [],
"data": ['security/ir.model.access.csv',
],
"auto_install": False,
"installable": True
}
@ -61,7 +61,8 @@ class ResUsers(orm.Model):
'login_date': fields.function(_get_login_date,
string='Latest connection',
type='date', select=1,
readonly=True, store=False),
readonly=True, store=False,
nodrop=True),
# Re-defining the login function in order to use the new table