[FIX] hr_timesheet_invoice: untranslated warning message
This commit is contained in:
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue