[IMP] gamification: improve the name of some m2m relations
bzr revid: mat@openerp.com-20140512092718-s6143ajy2g18ofy4
This commit is contained in:
parent
f176e65fae
commit
f14f632ef5
|
@ -155,7 +155,7 @@ class gamification_badge(osv.Model):
|
|||
string='Authorized Users',
|
||||
help="Only these people can give this badge"),
|
||||
'rule_auth_badge_ids': fields.many2many('gamification.badge',
|
||||
'rel_badge_badge', 'badge1_id', 'badge2_id',
|
||||
'gamification_badge_rule_badge_rel', 'badge1_id', 'badge2_id',
|
||||
string='Required Badges',
|
||||
help="Only the people having these badges can give this badge"),
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ class gamification_challenge(osv.Model):
|
|||
'manager_id': fields.many2one('res.users',
|
||||
string='Responsible', help="The user responsible for the challenge."),
|
||||
|
||||
'user_ids': fields.many2many('res.users', 'user_ids',
|
||||
'user_ids': fields.many2many('res.users', 'gamification_challenge_users_rel',
|
||||
string='Users',
|
||||
help="List of users participating to the challenge"),
|
||||
'user_domain': fields.char('User domain', help="Alternative to a list of users"),
|
||||
|
@ -149,7 +149,7 @@ class gamification_challenge(osv.Model):
|
|||
'end_date': fields.date('End Date',
|
||||
help="The day a new challenge will be automatically closed. If no periodicity is set, will use this date as the goal end date."),
|
||||
|
||||
'invited_user_ids': fields.many2many('res.users', 'invited_user_ids',
|
||||
'invited_user_ids': fields.many2many('res.users', 'gamification_invited_user_ids_rel',
|
||||
string="Suggest to users"),
|
||||
|
||||
'line_ids': fields.one2many('gamification.challenge.line', 'challenge_id',
|
||||
|
|
Loading…
Reference in New Issue