[FIX] hr_timesheet_invoice: untranslated warning message

This commit is contained in:
Erwin van der Ploeg 2015-04-01 12:04:46 +02:00 committed by Martin Trigaux
parent f6a4c932b0
commit 782deef905
1 changed files with 2 additions and 2 deletions

View File

@ -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