summaryrefslogtreecommitdiff
path: root/addons/gamification/wizard
diff options
context:
space:
mode:
authorMartin Trigaux <mat@openerp.com>2013-12-23 17:01:43 +0100
committerMartin Trigaux <mat@openerp.com>2013-12-23 17:01:43 +0100
commitf4e42879d3430f36033d416c205a63e547aa4068 (patch)
tree583ec6c1bb057d7f7089d263bf407a1630eadf40 /addons/gamification/wizard
parentc0eef311602c986e5ab54ebba016eb12d49e1467 (diff)
[REF] gamification: rename user_from_id -> sender_id, move constants
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
Diffstat (limited to 'addons/gamification/wizard')
-rw-r--r--addons/gamification/wizard/grant_badge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/wizard/grant_badge.py b/addons/gamification/wizard/grant_badge.py
index 1b80c490ef3..44f739fff4e 100644
--- a/addons/gamification/wizard/grant_badge.py
+++ b/addons/gamification/wizard/grant_badge.py
@@ -46,7 +46,7 @@ class grant_badge_wizard(osv.TransientModel):
#create the badge
values = {
'user_id': wiz.user_id.id,
- 'user_from_id': uid,
+ 'sender_id': uid,
'badge_id': wiz.badge_id.id,
'comment': wiz.comment,
}