# 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):
</record>
</data>
+
+ <data>
+ <record id="auth_signup.default_template_user" model="res.users">
+ <field name="share" eval="True"/>
+ </record>
+ </data>
</openerp>
Mr Demo Portal</field>
<!-- Avoid auto-including this user in any default group -->
<field name="groups_id" eval="[(5,)]"/>
+ <field name="share" eval="True" />
</record>
<!-- Add the demo user to the portal (and therefore to the portal member group) -->