summaryrefslogtreecommitdiff
path: root/addons/gamification/wizard
diff options
context:
space:
mode:
authorBenjamin Stiens <bst@odoo.com>2018-02-21 16:53:37 +0100
committerYannick Tivisse <yti@odoo.com>2018-05-28 16:45:48 +0200
commit6383120f3b67ea16d5f0d6cc47ea7b4dbd11e1f4 (patch)
tree0059d5d14169ee0d598e44b456722acc447149d1 /addons/gamification/wizard
parentc9735c75d61e6792ae32d64a35122dc4664f7cf4 (diff)
[IMP] all: Improve error messages
Many error messages are misleading or too "vague" This task aims to improve all error message. Task #47042 PR #23321
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 386a85f9b3c..01078f13017 100644
--- a/addons/gamification/wizard/grant_badge.py
+++ b/addons/gamification/wizard/grant_badge.py
@@ -21,7 +21,7 @@ class grant_badge_wizard(models.TransientModel):
uid = self.env.uid
for wiz in self:
if uid == wiz.user_id.id:
- raise exceptions.UserError(_('You can not grant a badge to yourself'))
+ raise exceptions.UserError(_('You can not grant a badge to yourself.'))
#create the badge
BadgeUser.create({