Browse Source

Merge pull request #669 from LasLabs/hotfix/10.0/password_security-ignore_admin_demo

[10.0][FIX] password_security: Validate admin pass
pull/682/head
Moises Lopez - https://www.vauxoo.com/ 8 years ago
committed by GitHub
parent
commit
7d15584995
  1. 5
      password_security/__manifest__.py
  2. 16
      password_security/demo/res_users.xml

5
password_security/__manifest__.py

@ -5,7 +5,7 @@
'name': 'Password Security',
"summary": "Allow admin to set password security requirements.",
'version': '10.0.1.0.0',
'version': '10.0.1.0.1',
'author': "LasLabs, Odoo Community Association (OCA)",
'category': 'Base',
'depends': [
@ -19,5 +19,8 @@
'security/ir.model.access.csv',
'security/res_users_pass_history.xml',
],
"demo": [
'demo/res_users.xml',
],
'installable': True,
}

16
password_security/demo/res_users.xml

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016 LasLabs Inc.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
-->
<odoo>
<record id="base.user_root" model="res.users">
<field name="password_write_date"
eval="datetime.now()"
/>
</record>
</odoo>
Loading…
Cancel
Save