From 882184a80f5753bc59cd83066f50013b1007de75 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Tue, 1 Oct 2013 17:59:01 +0200 Subject: [PATCH] [FIX]portal: add share flag to portaltemplate user and portal demo user bzr revid: dle@openerp.com-20131001155901-3hmb81sw6yvjmuav --- addons/auth_signup/res_users.py | 1 + addons/portal/portal_data.xml | 6 ++++++ addons/portal/portal_demo.xml | 1 + 3 files changed, 8 insertions(+) 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): diff --git a/addons/portal/portal_data.xml b/addons/portal/portal_data.xml index ac36bbde15e..5c7fa14ce2a 100644 --- a/addons/portal/portal_data.xml +++ b/addons/portal/portal_data.xml @@ -103,4 +103,10 @@ + + + + + + diff --git a/addons/portal/portal_demo.xml b/addons/portal/portal_demo.xml index 361e4270c63..e66f83227a5 100644 --- a/addons/portal/portal_demo.xml +++ b/addons/portal/portal_demo.xml @@ -18,6 +18,7 @@ Mr Demo Portal +