From 03c934bb3e3702a74cf333193e4ccd5bc747095c Mon Sep 17 00:00:00 2001 From: Erwin van der Ploeg Date: Tue, 30 Sep 2014 09:49:17 +0200 Subject: [PATCH] [Fix] hr_timesheet: When changing the date in timesheet activities gives alert, but alert is not translatable. --- addons/hr_timesheet/hr_timesheet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet/hr_timesheet.py b/addons/hr_timesheet/hr_timesheet.py index f14ed9f0ac4..dc2c0a60fa0 100644 --- a/addons/hr_timesheet/hr_timesheet.py +++ b/addons/hr_timesheet/hr_timesheet.py @@ -173,7 +173,7 @@ class hr_analytic_timesheet(osv.osv): if ids: new_date = self.read(cr, uid, ids[0], ['date'])['date'] if date != new_date: - warning = {'title':'User Alert!','message':'Changing the date will let this entry appear in the timesheet of the new date.'} + warning = {'title':_('User Alert!'),'message':_('Changing the date will let this entry appear in the timesheet of the new date.')} return {'value':{},'warning':warning} return {'value':{}}