summaryrefslogtreecommitdiff
path: root/addons/auth_password_policy_signup
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-05-10 21:51:50 +0700
commit3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch)
treea44932296ef4a9b71d5f010906253d8c53727726 /addons/auth_password_policy_signup
parent0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff)
initial commit 2
Diffstat (limited to 'addons/auth_password_policy_signup')
-rw-r--r--addons/auth_password_policy_signup/__init__.py2
-rw-r--r--addons/auth_password_policy_signup/__manifest__.py11
-rw-r--r--addons/auth_password_policy_signup/controllers.py10
-rw-r--r--addons/auth_password_policy_signup/i18n/ar.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/az.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/bs.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/ca.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/cs.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/da.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/de.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/el.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/es.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/et.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/fa.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/fi.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/fr.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/gu.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/he.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/hu.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/is.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/it.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/ja.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/km.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/ko.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/mn.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/nb.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/nl.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/pl.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/pt.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/pt_BR.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/ro.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/ru.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/sk.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/sr.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/th.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/tr.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/uk.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/vi.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/zh_CN.po15
-rw-r--r--addons/auth_password_policy_signup/i18n/zh_TW.po15
-rw-r--r--addons/auth_password_policy_signup/static/src/js/signup_policy.js23
-rw-r--r--addons/auth_password_policy_signup/static/src/scss/signup_policy.scss6
-rw-r--r--addons/auth_password_policy_signup/views/assets.xml9
-rw-r--r--addons/auth_password_policy_signup/views/signup_templates.xml8
44 files changed, 624 insertions, 0 deletions
diff --git a/addons/auth_password_policy_signup/__init__.py b/addons/auth_password_policy_signup/__init__.py
new file mode 100644
index 00000000..153a9e31
--- /dev/null
+++ b/addons/auth_password_policy_signup/__init__.py
@@ -0,0 +1,2 @@
+# -*- coding: utf-8 -*-
+from . import controllers
diff --git a/addons/auth_password_policy_signup/__manifest__.py b/addons/auth_password_policy_signup/__manifest__.py
new file mode 100644
index 00000000..cedc2caf
--- /dev/null
+++ b/addons/auth_password_policy_signup/__manifest__.py
@@ -0,0 +1,11 @@
+{
+ 'name': "Password Policy support for Signup",
+ 'depends': ['auth_password_policy', 'auth_signup'],
+ 'category': 'Hidden/Tools',
+ 'auto_install': True,
+ 'data': [
+ 'views/assets.xml',
+ 'views/signup_templates.xml',
+ ],
+ 'license': 'LGPL-3',
+}
diff --git a/addons/auth_password_policy_signup/controllers.py b/addons/auth_password_policy_signup/controllers.py
new file mode 100644
index 00000000..278ac20b
--- /dev/null
+++ b/addons/auth_password_policy_signup/controllers.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+
+from odoo.http import request
+from odoo.addons.auth_signup.controllers.main import AuthSignupHome
+
+class AddPolicyData(AuthSignupHome):
+ def get_auth_signup_config(self):
+ d = super(AddPolicyData, self).get_auth_signup_config()
+ d['password_minimum_length'] = request.env['ir.config_parameter'].sudo().get_param('auth_password_policy.minlength')
+ return d
diff --git a/addons/auth_password_policy_signup/i18n/ar.po b/addons/auth_password_policy_signup/i18n/ar.po
new file mode 100644
index 00000000..e0161b6d
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/ar.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Arabic (https://www.transifex.com/odoo/teams/41243/ar/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ar\n"
+"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
diff --git a/addons/auth_password_policy_signup/i18n/az.po b/addons/auth_password_policy_signup/i18n/az.po
new file mode 100644
index 00000000..1d7cbf08
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/az.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 07:10+0000\n"
+"Language-Team: Azerbaijani (https://www.transifex.com/odoo/teams/41243/az/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: az\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/bs.po b/addons/auth_password_policy_signup/i18n/bs.po
new file mode 100644
index 00000000..3d240451
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/bs.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Bosnian (https://www.transifex.com/odoo/teams/41243/bs/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: bs\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
diff --git a/addons/auth_password_policy_signup/i18n/ca.po b/addons/auth_password_policy_signup/i18n/ca.po
new file mode 100644
index 00000000..e4b102b3
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/ca.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Catalan (https://www.transifex.com/odoo/teams/41243/ca/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ca\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/cs.po b/addons/auth_password_policy_signup/i18n/cs.po
new file mode 100644
index 00000000..1ce5718b
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/cs.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Czech (https://www.transifex.com/odoo/teams/41243/cs/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: cs\n"
+"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
diff --git a/addons/auth_password_policy_signup/i18n/da.po b/addons/auth_password_policy_signup/i18n/da.po
new file mode 100644
index 00000000..7675037a
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/da.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Danish (https://www.transifex.com/odoo/teams/41243/da/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: da\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/de.po b/addons/auth_password_policy_signup/i18n/de.po
new file mode 100644
index 00000000..4444b7c3
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/de.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: de\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/el.po b/addons/auth_password_policy_signup/i18n/el.po
new file mode 100644
index 00000000..ecb556b4
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/el.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Greek (https://www.transifex.com/odoo/teams/41243/el/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: el\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/es.po b/addons/auth_password_policy_signup/i18n/es.po
new file mode 100644
index 00000000..7219cedb
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/es.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/et.po b/addons/auth_password_policy_signup/i18n/et.po
new file mode 100644
index 00000000..42526666
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/et.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 07:10+0000\n"
+"Language-Team: Estonian (https://www.transifex.com/odoo/teams/41243/et/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: et\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/fa.po b/addons/auth_password_policy_signup/i18n/fa.po
new file mode 100644
index 00000000..15c7d778
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/fa.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Persian (https://www.transifex.com/odoo/teams/41243/fa/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fa\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/fi.po b/addons/auth_password_policy_signup/i18n/fi.po
new file mode 100644
index 00000000..ffab23aa
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/fi.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Finnish (https://www.transifex.com/odoo/teams/41243/fi/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fi\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/fr.po b/addons/auth_password_policy_signup/i18n/fr.po
new file mode 100644
index 00000000..06dbbcbb
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/fr.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/gu.po b/addons/auth_password_policy_signup/i18n/gu.po
new file mode 100644
index 00000000..db49e8bd
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/gu.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Gujarati (https://www.transifex.com/odoo/teams/41243/gu/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: gu\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/he.po b/addons/auth_password_policy_signup/i18n/he.po
new file mode 100644
index 00000000..4cd68cc8
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/he.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Hebrew (https://www.transifex.com/odoo/teams/41243/he/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: he\n"
+"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n"
diff --git a/addons/auth_password_policy_signup/i18n/hu.po b/addons/auth_password_policy_signup/i18n/hu.po
new file mode 100644
index 00000000..7aa0fdc3
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/hu.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 07:10+0000\n"
+"Language-Team: Hungarian (https://www.transifex.com/odoo/teams/41243/hu/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hu\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/is.po b/addons/auth_password_policy_signup/i18n/is.po
new file mode 100644
index 00000000..1b962bc2
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/is.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 07:10+0000\n"
+"Language-Team: Icelandic (https://www.transifex.com/odoo/teams/41243/is/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: is\n"
+"Plural-Forms: nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);\n"
diff --git a/addons/auth_password_policy_signup/i18n/it.po b/addons/auth_password_policy_signup/i18n/it.po
new file mode 100644
index 00000000..97830819
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/it.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Italian (https://www.transifex.com/odoo/teams/41243/it/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: it\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/ja.po b/addons/auth_password_policy_signup/i18n/ja.po
new file mode 100644
index 00000000..2ad4fff1
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/ja.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Japanese (https://www.transifex.com/odoo/teams/41243/ja/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ja\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/i18n/km.po b/addons/auth_password_policy_signup/i18n/km.po
new file mode 100644
index 00000000..0141d6f1
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/km.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Khmer (https://www.transifex.com/odoo/teams/41243/km/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: km\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/i18n/ko.po b/addons/auth_password_policy_signup/i18n/ko.po
new file mode 100644
index 00000000..660fd437
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/ko.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 07:10+0000\n"
+"Language-Team: Korean (https://www.transifex.com/odoo/teams/41243/ko/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ko\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/i18n/mn.po b/addons/auth_password_policy_signup/i18n/mn.po
new file mode 100644
index 00000000..81df7c9c
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/mn.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Mongolian (https://www.transifex.com/odoo/teams/41243/mn/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: mn\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/nb.po b/addons/auth_password_policy_signup/i18n/nb.po
new file mode 100644
index 00000000..8b081ade
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/nb.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Norwegian Bokmål (https://www.transifex.com/odoo/teams/41243/nb/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nb\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/nl.po b/addons/auth_password_policy_signup/i18n/nl.po
new file mode 100644
index 00000000..4d632cf0
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/nl.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/pl.po b/addons/auth_password_policy_signup/i18n/pl.po
new file mode 100644
index 00000000..d2e49abd
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/pl.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Polish (https://www.transifex.com/odoo/teams/41243/pl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pl\n"
+"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
diff --git a/addons/auth_password_policy_signup/i18n/pt.po b/addons/auth_password_policy_signup/i18n/pt.po
new file mode 100644
index 00000000..ae6e3ef8
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/pt.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Portuguese (https://www.transifex.com/odoo/teams/41243/pt/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/pt_BR.po b/addons/auth_password_policy_signup/i18n/pt_BR.po
new file mode 100644
index 00000000..d325aa7a
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/pt_BR.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Portuguese (Brazil) (https://www.transifex.com/odoo/teams/41243/pt_BR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt_BR\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/ro.po b/addons/auth_password_policy_signup/i18n/ro.po
new file mode 100644
index 00000000..63aa0ead
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/ro.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Romanian (https://www.transifex.com/odoo/teams/41243/ro/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ro\n"
+"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
diff --git a/addons/auth_password_policy_signup/i18n/ru.po b/addons/auth_password_policy_signup/i18n/ru.po
new file mode 100644
index 00000000..5e4eddbb
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/ru.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Russian (https://www.transifex.com/odoo/teams/41243/ru/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ru\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
diff --git a/addons/auth_password_policy_signup/i18n/sk.po b/addons/auth_password_policy_signup/i18n/sk.po
new file mode 100644
index 00000000..0d7785e2
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/sk.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Slovak (https://www.transifex.com/odoo/teams/41243/sk/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sk\n"
+"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n"
diff --git a/addons/auth_password_policy_signup/i18n/sr.po b/addons/auth_password_policy_signup/i18n/sr.po
new file mode 100644
index 00000000..2f870478
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/sr.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Serbian (https://www.transifex.com/odoo/teams/41243/sr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sr\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
diff --git a/addons/auth_password_policy_signup/i18n/th.po b/addons/auth_password_policy_signup/i18n/th.po
new file mode 100644
index 00000000..1ed28718
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/th.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 07:10+0000\n"
+"Language-Team: Thai (https://www.transifex.com/odoo/teams/41243/th/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: th\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/i18n/tr.po b/addons/auth_password_policy_signup/i18n/tr.po
new file mode 100644
index 00000000..fbfd9064
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/tr.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Turkish (https://www.transifex.com/odoo/teams/41243/tr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: tr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
diff --git a/addons/auth_password_policy_signup/i18n/uk.po b/addons/auth_password_policy_signup/i18n/uk.po
new file mode 100644
index 00000000..ad2654d6
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/uk.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Ukrainian (https://www.transifex.com/odoo/teams/41243/uk/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: uk\n"
+"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
diff --git a/addons/auth_password_policy_signup/i18n/vi.po b/addons/auth_password_policy_signup/i18n/vi.po
new file mode 100644
index 00000000..9706f4a2
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/vi.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Vietnamese (https://www.transifex.com/odoo/teams/41243/vi/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: vi\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/i18n/zh_CN.po b/addons/auth_password_policy_signup/i18n/zh_CN.po
new file mode 100644
index 00000000..89cb5193
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/zh_CN.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: zh_CN\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/i18n/zh_TW.po b/addons/auth_password_policy_signup/i18n/zh_TW.po
new file mode 100644
index 00000000..3d779b90
--- /dev/null
+++ b/addons/auth_password_policy_signup/i18n/zh_TW.po
@@ -0,0 +1,15 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 12.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-10-08 06:48+0000\n"
+"PO-Revision-Date: 2018-10-08 06:48+0000\n"
+"Language-Team: Chinese (Taiwan) (https://www.transifex.com/odoo/teams/41243/zh_TW/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: zh_TW\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
diff --git a/addons/auth_password_policy_signup/static/src/js/signup_policy.js b/addons/auth_password_policy_signup/static/src/js/signup_policy.js
new file mode 100644
index 00000000..14e3d8d1
--- /dev/null
+++ b/addons/auth_password_policy_signup/static/src/js/signup_policy.js
@@ -0,0 +1,23 @@
+odoo.define('auth_password_policy_signup.policy', function (require) {
+"use strict";
+
+require('web.dom_ready');
+var policy = require('auth_password_policy');
+var PasswordMeter = require('auth_password_policy.Meter');
+
+var $signupForm = $('.oe_signup_form, .oe_reset_password_form');
+if (!$signupForm.length) { return; }
+
+// hook in password strength meter
+// * requirement is the password field's minlength
+// * recommendations are from the module
+var $password = $('[type=password][minlength]');
+var minlength = Number($password.attr('minlength'));
+if (isNaN(minlength)) { return; }
+
+var meter = new PasswordMeter(null, new policy.Policy({minlength: minlength}), policy.recommendations);
+meter.insertAfter($password);
+$password.on('input', function () {
+ meter.update($password.val());
+});
+});
diff --git a/addons/auth_password_policy_signup/static/src/scss/signup_policy.scss b/addons/auth_password_policy_signup/static/src/scss/signup_policy.scss
new file mode 100644
index 00000000..251e3344
--- /dev/null
+++ b/addons/auth_password_policy_signup/static/src/scss/signup_policy.scss
@@ -0,0 +1,6 @@
+.form-group.field-password {
+ position: relative;
+ meter.o_password_meter {
+ bottom: calc(#{$input-height} / 2 - 7px);
+ }
+}
diff --git a/addons/auth_password_policy_signup/views/assets.xml b/addons/auth_password_policy_signup/views/assets.xml
new file mode 100644
index 00000000..1f6f3714
--- /dev/null
+++ b/addons/auth_password_policy_signup/views/assets.xml
@@ -0,0 +1,9 @@
+<odoo>
+ <template id="assets_frontend" inherit_id="web.assets_frontend" name="Auth Signup Password Policy Assets">
+ <xpath expr="." position="inside">
+ <script type="text/javascript" src="/auth_password_policy_signup/static/src/js/signup_policy.js"></script>
+ <link rel="stylesheet" type="text/scss" href="/auth_password_policy_signup/static/src/scss/signup_policy.scss"/>
+ </xpath>
+ </template>
+
+</odoo>
diff --git a/addons/auth_password_policy_signup/views/signup_templates.xml b/addons/auth_password_policy_signup/views/signup_templates.xml
new file mode 100644
index 00000000..eb737b8a
--- /dev/null
+++ b/addons/auth_password_policy_signup/views/signup_templates.xml
@@ -0,0 +1,8 @@
+<odoo>
+ <template id="fields" inherit_id="auth_signup.fields"
+ name="Password policy data for auth_signup">
+ <xpath expr="//input[@name='password']" position="attributes">
+ <attribute name="t-att-minlength">password_minimum_length</attribute>
+ </xpath>
+ </template>
+</odoo>