From 782deef905276207587d7a337908d40c868c0ba3 Mon Sep 17 00:00:00 2001 From: Erwin van der Ploeg Date: Wed, 1 Apr 2015 12:04:46 +0200 Subject: [PATCH] [FIX] hr_timesheet_invoice: untranslated warning message --- addons/hr_timesheet_invoice/hr_timesheet_invoice.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py index ac7c237d73c..34cea3c92cf 100644 --- a/addons/hr_timesheet_invoice/hr_timesheet_invoice.py +++ b/addons/hr_timesheet_invoice/hr_timesheet_invoice.py @@ -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