[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
|
res['value']['to_invoice'] = st or False
|
||||||
if acc.state=='pending':
|
if acc.state=='pending':
|
||||||
res['warning'] = {
|
res['warning'] = {
|
||||||
'title': 'Warning',
|
'title': _('Warning'),
|
||||||
'message': 'The analytic account is in pending state.\nYou should not work on this account !'
|
'message': _('The analytic account is in pending state.\nYou should not work on this account !')
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue