diff options
| author | Amit Bhavsar (Open ERP) <amb@tinyerp.com> | 2012-08-28 12:11:50 +0530 |
|---|---|---|
| committer | Amit Bhavsar (Open ERP) <amb@tinyerp.com> | 2012-08-28 12:11:50 +0530 |
| commit | 319ed3d3a0ab50b87be14c6bf61df18dabe7f627 (patch) | |
| tree | 5dc6df7350e06f764a71ce3192829540e0bee61b /addons/analytic_user_function/analytic_user_function.py | |
| parent | 9e68ccd264b1ac04606f0abe0e58ffb04fd6c189 (diff) | |
| parent | 65f532e00137e8dc6d752449db40b737144bcb0d (diff) | |
Merge with latest addons.
bzr revid: amb@tinyerp.com-20120828064150-z9p9zaqavpevw8gq
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,)) |
