[FIX] portal: portal template should have portal group ONLY (magic number 6 replace current groups by the portal group only)

bzr revid: dle@openerp.com-20140409124741-wsycxwqik41s0hfn
This commit is contained in:
Denis Ledoux 2014-04-09 14:47:41 +02:00
parent f6a6394980
commit ce83eb0968
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<field name="password"></field>
<field name="active" eval="False"/>
<!-- Avoid auto-including this user in any default group, just like a typical portal member -->
<field name="groups_id" eval="[(4,ref('base.group_portal'))]"/>
<field name="groups_id" eval="[(6, 0, [ref('base.group_portal')])]"/>
<!-- allow signuped users to have a alias -->
<field name="alias_name">_usertemplate</field>
</record>