diff --git a/addons/gamification/badge.py b/addons/gamification/badge.py index 13234d94b91..7ff80fc3967 100644 --- a/addons/gamification/badge.py +++ b/addons/gamification/badge.py @@ -223,7 +223,6 @@ class gamification_badge(osv.Model): partner_ids=[(4, badge_user.user_id.partner_id.id)], type='comment', subtype='mt_comment', - attachments=[('badge-img.png', base64.decodestring(badge.image))], context=context) return res diff --git a/addons/gamification/badge_view.xml b/addons/gamification/badge_view.xml index e3c2cc3429d..9d36250a7ca 100644 --- a/addons/gamification/badge_view.xml +++ b/addons/gamification/badge_view.xml @@ -126,14 +126,14 @@ -
+

- 0">got-it +jspW8F2wIbhtSRr0Vf4AD6Nod0TaN4kAAAAASUVORK5CYII=" alt="got-it" /> -->

diff --git a/addons/gamification/templates/badge_received.mako b/addons/gamification/templates/badge_received.mako index 802590f9e59..b846ab7ff4f 100644 --- a/addons/gamification/templates/badge_received.mako +++ b/addons/gamification/templates/badge_received.mako @@ -10,9 +10,6 @@ % endif

- % if badge_user.badge_id.image -

Badge ${badge_user.badge_id.name}

- % endif % if badge_user.comment

${badge_user.comment}

% endif