diff --git a/password_security/__manifest__.py b/password_security/__manifest__.py index 689d0ab1b..d4d1bc54e 100644 --- a/password_security/__manifest__.py +++ b/password_security/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Password Security', "summary": "Allow admin to set password security requirements.", - 'version': '10.0.1.1.1', + 'version': '10.0.1.1.2', 'author': "LasLabs, Odoo Community Association (OCA)", 'category': 'Base', 'depends': [ diff --git a/password_security/models/res_users.py b/password_security/models/res_users.py index c9e61af1c..7203fe70a 100644 --- a/password_security/models/res_users.py +++ b/password_security/models/res_users.py @@ -21,6 +21,7 @@ class ResUsers(models.Model): password_write_date = fields.Datetime( 'Last password update', + default=fields.Datetime.now, readonly=True, ) password_history_ids = fields.One2many(