diff options
| author | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-08-21 18:28:02 +0530 |
|---|---|---|
| committer | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-08-21 18:28:02 +0530 |
| commit | 6072f6031b1b36d9ec9fe9e0c3eff7de3e7c33b7 (patch) | |
| tree | 88c4a7018c77b3d55a246bfe729de42b98423f8d /addons/analytic_user_function/analytic_user_function.py | |
| parent | d930f23ece879bca7480caee2ec6fb372c2bf48b (diff) | |
| parent | 026f76510763b95c59513a3e45754d30947dca12 (diff) | |
[Merge] Merge with main addons.
bzr revid: mdi@tinyerp.com-20120821125802-6am4p6hpbi5mjpvy
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,)) |
