summaryrefslogtreecommitdiff
path: root/addons/auth_signup/res_users.py
diff options
context:
space:
mode:
authorDenis Ledoux <dle@openerp.com>2013-10-01 17:59:01 +0200
committerDenis Ledoux <dle@openerp.com>2013-10-01 17:59:01 +0200
commit882184a80f5753bc59cd83066f50013b1007de75 (patch)
treeda66df21220cbb1c9c19016187569b310d8d363a /addons/auth_signup/res_users.py
parentbc9bfe0f24af27ce4c819eb4fd62d53454224599 (diff)
[FIX]portal: add share flag to portaltemplate user and portal demo user
bzr revid: dle@openerp.com-20131001155901-3hmb81sw6yvjmuav
Diffstat (limited to 'addons/auth_signup/res_users.py')
-rw-r--r--addons/auth_signup/res_users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/auth_signup/res_users.py b/addons/auth_signup/res_users.py
index e29d55ba47b..9dd5090a03e 100644
--- a/addons/auth_signup/res_users.py
+++ b/addons/auth_signup/res_users.py
@@ -227,6 +227,7 @@ class res_users(osv.Model):
# create a copy of the template user (attached to a specific partner_id if given)
values['active'] = True
+ values['share'] = True
return self.copy(cr, uid, template_user_id, values, context=context)
def reset_password(self, cr, uid, login, context=None):