diff options
| author | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2012-08-23 14:44:48 +0530 |
|---|---|---|
| committer | Turkesh Patel (Open ERP) <tpa@tinyerp.com> | 2012-08-23 14:44:48 +0530 |
| commit | 2bebc58b90c0d8e31c7b52fd2157220b89b341b8 (patch) | |
| tree | bd1a5eb12d1de90b0c6703fdac1c2305cb40a0fa /addons/analytic_user_function/analytic_user_function.py | |
| parent | da13d90912fb12bd8f82a12300325f6f57dfee17 (diff) | |
| parent | c4b2e9fad2ce2bd2c59aae3d96eb467177b3c7ca (diff) | |
[MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20120823091448-ouxbelky1i1n2273
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
| -rw-r--r-- | addons/analytic_user_function/analytic_user_function.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/analytic_user_function/analytic_user_function.py b/addons/analytic_user_function/analytic_user_function.py index cfb1aba10d1..9233845f7eb 100644 --- a/addons/analytic_user_function/analytic_user_function.py +++ b/addons/analytic_user_function/analytic_user_function.py @@ -92,7 +92,7 @@ class hr_analytic_timesheet(osv.osv): if not a: a = r.product_id.categ_id.property_account_expense_categ.id if not a: - raise osv.except_osv(_('Error !'), + raise osv.except_osv(_('Error!'), _('There is no expense account define ' \ 'for this product: "%s" (id:%d)') % \ (r.product_id.name, r.product_id.id,)) @@ -127,7 +127,7 @@ class hr_analytic_timesheet(osv.osv): if not a: a = r.product_id.categ_id.property_account_expense_categ.id if not a: - raise osv.except_osv(_('Error !'), + raise osv.except_osv(_('Error!'), _('There is no expense account define ' \ 'for this product: "%s" (id:%d)') % \ (r.product_id.name, r.product_id.id,)) |
