[FIX] portal_gamification: fixed references to group_portal in gamification.
Indeed gamification is a new module that landed in trunk recently. It makes some references to the portal group. However this group has been moved into the base module in this website feature branch. The references have therefore been updated. bzr revid: tde@openerp.com-20140106165001-uqhxqztn1qq1urys
This commit is contained in:
parent
1053f3c922
commit
e4cdc02337
|
@ -1,7 +1,7 @@
|
|||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
|
||||
goal_portal,"Goal Portal",gamification.model_gamification_goal,portal.group_portal,1,1,0,0
|
||||
goal_definition_portal,"Goal Definition Portal",gamification.model_gamification_goal_definition,portal.group_portal,1,0,0,0
|
||||
challenge_portal,"Goal Challenge Portal",gamification.model_gamification_challenge,portal.group_portal,1,0,0,0
|
||||
challenge_line_portal,"Challenge Line Portal",gamification.model_gamification_challenge_line,portal.group_portal,1,0,0,0
|
||||
badge_portal,"Badge Portal",gamification.model_gamification_badge,portal.group_portal,1,0,0,0
|
||||
badge_user_portal,"Badge-user Portal",gamification.model_gamification_badge_user,portal.group_portal,1,1,1,0
|
||||
goal_portal,"Goal Portal",gamification.model_gamification_goal,base.group_portal,1,1,0,0
|
||||
goal_definition_portal,"Goal Definition Portal",gamification.model_gamification_goal_definition,base.group_portal,1,0,0,0
|
||||
challenge_portal,"Goal Challenge Portal",gamification.model_gamification_challenge,base.group_portal,1,0,0,0
|
||||
challenge_line_portal,"Challenge Line Portal",gamification.model_gamification_challenge_line,base.group_portal,1,0,0,0
|
||||
badge_portal,"Badge Portal",gamification.model_gamification_badge,base.group_portal,1,0,0,0
|
||||
badge_user_portal,"Badge-user Portal",gamification.model_gamification_badge_user,base.group_portal,1,1,1,0
|
||||
|
|
|
|
@ -2,7 +2,7 @@
|
|||
<openerp>
|
||||
<data>
|
||||
<record id="gamification.goal_user_visibility" model="ir.rule">
|
||||
<field name="groups" eval="[(4, ref('portal.group_portal'))]"/>
|
||||
<field name="groups" eval="[(4, ref('base.group_portal'))]"/>
|
||||
</record>
|
||||
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue