From a971eb7526ed4da3857a7293526ff2a4577e45a8 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 27 Jan 2017 16:35:47 +0100 Subject: [PATCH] Module set to installable Odoo don't let signup without password --- auth_signup_verify_email/__manifest__.py | 4 ++-- auth_signup_verify_email/controllers/main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auth_signup_verify_email/__manifest__.py b/auth_signup_verify_email/__manifest__.py index 1f4f902c3..3908671e1 100644 --- a/auth_signup_verify_email/__manifest__.py +++ b/auth_signup_verify_email/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Verify email at signup", "summary": "Force uninvited users to use a good email for signup", - "version": "9.0.1.0.0", + "version": "10.0.1.0.0", "category": "Authentication", "website": "http://www.tecnativa.com", "author": "Antiun IngenierĂ­a S.L., " @@ -12,7 +12,7 @@ "Odoo Community Association (OCA)", "license": "AGPL-3", "application": False, - 'installable': False, + 'installable': True, "external_dependencies": { "python": [ "lxml", diff --git a/auth_signup_verify_email/controllers/main.py b/auth_signup_verify_email/controllers/main.py index 506e93744..1bd7414bd 100644 --- a/auth_signup_verify_email/controllers/main.py +++ b/auth_signup_verify_email/controllers/main.py @@ -34,7 +34,7 @@ class SignupVerifyEmail(AuthSignupHome): values["email"] = values.get("login") # Remove password - values["password"] = False + values["password"] = "password" sudo_users = (http.request.env["res.users"] .with_context(create_user=True).sudo())