diff --git a/auth_generate_password/__init__.py b/auth_generate_password/__init__.py
new file mode 100644
index 000000000..782a258d8
--- /dev/null
+++ b/auth_generate_password/__init__.py
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Authentification - Generate Password module for Odoo
+# Copyright (C) 2013-2014 GRAP (http://www.grap.coop)
+# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from . import model
diff --git a/auth_generate_password/__openerp__.py b/auth_generate_password/__openerp__.py
new file mode 100644
index 000000000..03241dca0
--- /dev/null
+++ b/auth_generate_password/__openerp__.py
@@ -0,0 +1,70 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Authentification - Generate Password module for Odoo
+# Copyright (C) 2014 GRAP (http://www.grap.coop)
+# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+{
+ 'name': 'Password Secure',
+ 'version': '2.0',
+ 'category': 'GRAP - Custom',
+ 'description': """
+Password Secure
+===============
+
+Functionnality:
+---------------
+ * Forbid users to change them password;
+ * Only members of base.group_system can change password; OK.
+ * Add a button to the res_users form:
+ * to change the password (randomly generated);
+ * send an email to each users;
+
+Settings:
+---------
+ * Once the module installed, you have to set two settings:
+ * password size: the size of the password generated (6 by default);
+ * password chars: the list of allowed chars (by default ASCII letters
+ and digits); You can:
+ * set a list of chars like 'abcdef';
+ * use string function like string.ascii_letters;
+ * Be sure that an Outgoing Email Server is correctly configured;
+
+Copyright, Author and Licence :
+-------------------------------
+ * Copyright : 2014, Groupement Régional Alimentaire de Proximité;
+ * Author : Sylvain LE GAL (https://twitter.com/legalsylvain);
+ * Licence : AGPL-3 (http://www.gnu.org/licenses/)
+ """,
+ 'author': 'GRAP',
+ 'website': 'http://www.grap.coop',
+ 'license': 'AGPL-3',
+ 'depends': [
+ 'email_template',
+ ],
+ 'data': [
+ 'data/ir_config_parameter.yml',
+ 'data/email_template.xml',
+ 'view/view.xml',
+ ],
+ 'demo': [
+ 'demo/res_groups.yml',
+ 'demo/res_users.yml',
+ ],
+}
diff --git a/auth_generate_password/data/email_template.xml b/auth_generate_password/data/email_template.xml
new file mode 100644
index 000000000..b22920aa9
--- /dev/null
+++ b/auth_generate_password/data/email_template.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Generate Password
+
+ ]]>
+ ${object.email|safe}
+ OpenERP - Password Changed
+
+
Login : ${object.login}
+
New Password : ${object.password}
+
+Please,
+
+
remember this password and delete this email;
+
Communicate the password to your team, if you are many people to use the same credentials;
+
]]>
+
+
+
+
+
diff --git a/auth_generate_password/data/ir_config_parameter.yml b/auth_generate_password/data/ir_config_parameter.yml
new file mode 100644
index 000000000..6282a0ff7
--- /dev/null
+++ b/auth_generate_password/data/ir_config_parameter.yml
@@ -0,0 +1,29 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Authentification - Generate Password module for Odoo
+# Copyright (C) 2014 GRAP (http://www.grap.coop)
+# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+- !record {model: ir.config_parameter, id: password_size}:
+ key: auth_generate_password.password_size
+ value: 6
+
+- !record {model: ir.config_parameter, id: password_chars}:
+ key: auth_generate_password.password_chars
+ value: string.ascii_letters + string.digits
diff --git a/auth_generate_password/demo/res_groups.yml b/auth_generate_password/demo/res_groups.yml
new file mode 100644
index 000000000..e52835925
--- /dev/null
+++ b/auth_generate_password/demo/res_groups.yml
@@ -0,0 +1,25 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Authentification - Generate Password module for Odoo
+# Copyright (C) 2014 GRAP (http://www.grap.coop)
+# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+- !record {model: res.groups, id: base.group_no_one}:
+ users:
+ - base.user_root
diff --git a/auth_generate_password/demo/res_users.yml b/auth_generate_password/demo/res_users.yml
new file mode 100644
index 000000000..00b401abe
--- /dev/null
+++ b/auth_generate_password/demo/res_users.yml
@@ -0,0 +1,26 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Authentification - Generate Password module for Odoo
+# Copyright (C) 2014 GRAP (http://www.grap.coop)
+# @author Sylvain LE GAL (https://twitter.com/legalsylvain)
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+- !record {model: res.users, id: extra_user}:
+ name: Extra User
+ login: extra
+ email: extra@example.com
diff --git a/auth_generate_password/i18n/fr.po b/auth_generate_password/i18n/fr.po
new file mode 100644
index 000000000..2ffaae6cf
--- /dev/null
+++ b/auth_generate_password/i18n/fr.po
@@ -0,0 +1,72 @@
+# Translation of OpenERP Server.
+# This file contains the translation of the following modules:
+# * auth_generate_password
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: OpenERP Server 7.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2014-12-09 12:53+0000\n"
+"PO-Revision-Date: 2014-12-09 12:53+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Plural-Forms: \n"
+
+#. module: auth_generate_password
+#: model:email.template,body_html:auth_generate_password.generate_password_template
+msgid "\n"
+"Your OpenERP credentials has been changed:\n"
+"
\n"
+"
Login : ${object.login}
\n"
+"
New Password : ${object.password}
\n"
+"
\n"
+"Please,\n"
+"
\n"
+"
remember this password and delete this email;
\n"
+"
Communicate the password to your team, if you are many people to use the same credentials;