Created
January 24, 2013 14:20
-
-
Save mrvdb/4622172 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== modified file 'auth_signup/res_users.py' | |
--- auth_signup/res_users.py 2013-01-22 14:59:25 +0000 | |
+++ auth_signup/res_users.py 2013-01-24 14:09:39 +0000 | |
@@ -248,7 +248,7 @@ | |
# send email to users with their signup url | |
template = False | |
- if context.get('create_user'): | |
+ if context and context.get('create_user'): | |
try: | |
template = self.pool.get('ir.model.data').get_object(cr, uid, 'auth_signup', 'set_password_email') | |
except ValueError: | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment