diff --git a/addons/gamification/badge_view.xml b/addons/gamification/badge_view.xml index e0e4d528b99..9ccfbf001e0 100644 --- a/addons/gamification/badge_view.xml +++ b/addons/gamification/badge_view.xml @@ -63,17 +63,17 @@ gamification.badge
+
+
-
-
diff --git a/addons/hr/hr.py b/addons/hr/hr.py index 315a3306d15..eb094a7e88f 100644 --- a/addons/hr/hr.py +++ b/addons/hr/hr.py @@ -299,7 +299,7 @@ class hr_employee(osv.osv): res = super(hr_employee, self).message_post(cr, uid, employee_id, context=context, **kwargs) return res else: - raise osv.except_osv('Warning!', 'You need to be an employee to send messages to your followers.') + raise osv.except_osv('Warning!', 'Your user is not linked to an employee form, which is required to send messages to your followers.') # if no overwrite, send message as usual return super(hr_employee, self).message_post(cr, uid, thread_id, context=context, **kwargs) diff --git a/addons/hr_gamification/badge_view.xml b/addons/hr_gamification/badge_view.xml index 210d4aff798..3ea87d54bf3 100644 --- a/addons/hr_gamification/badge_view.xml +++ b/addons/hr_gamification/badge_view.xml @@ -29,7 +29,7 @@ - +