[FIX] hr_timesheet_invoice: untranslated warning message

This commit is contained in:
Erwin van der Ploeg
2015-05-04 15:07:51 +02:00
committed by Martin Trigaux
parent f6a4c932b0
commit 782deef905
@@ -325,8 +325,8 @@ class hr_analytic_timesheet(osv.osv):
res['value']['to_invoice'] = st or False
if acc.state=='pending':
res['warning'] = {
'title': 'Warning',
'message': 'The analytic account is in pending state.\nYou should not work on this account !'
'title': _('Warning'),
'message': _('The analytic account is in pending state.\nYou should not work on this account !')
}
return res