[Fix] hr_timesheet: When changing the date in timesheet activities gives alert, but alert is not translatable.

This commit is contained in:
Erwin van der Ploeg 2014-09-30 09:49:17 +02:00
parent 5e248f09c7
commit 03c934bb3e
1 changed files with 1 additions and 1 deletions

View File

@ -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':{}}