[FIX] auth_signup: fix reference to template user for signup

bzr revid: rco@openerp.com-20120920074514-en23fuwudyn2zxjx
This commit is contained in:
Raphael Collet 2012-09-20 09:45:14 +02:00
parent b0b4b4b252
commit 7655344ec5
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class res_users(osv.Model):
# groups (optional)
# sign (for partner_id and groups)
#
user_template_id = self.pool.get('ir.config_parameter').get_param(cr, uid, 'auth.signup_template_user_id', 0)
user_template_id = self.pool.get('ir.config_parameter').get_param(cr, uid, 'auth_signup.template_user_id', 0)
if user_template_id:
self.pool.get('res.users').copy(cr, SUPERUSER_ID, user_template_id, new_user, context=context)
else: