diff options
| author | Amit (OpenERP) <amp@tinyerp.com> | 2012-09-03 15:02:01 +0530 |
|---|---|---|
| committer | Amit (OpenERP) <amp@tinyerp.com> | 2012-09-03 15:02:01 +0530 |
| commit | 47cb33a81b1e8aca9d43fd4d0cfa2c100eed728b (patch) | |
| tree | baf4cf2db3a285a8041a3469419f9a669b4cdb2e /addons/analytic_user_function/analytic_user_function.py | |
| parent | 041294a4d1d692fd3db4c819e17a4329df54d34f (diff) | |
| parent | e3f1c26e6afcf7c3df9bd98166614778e27645ea (diff) | |
[Merge] Merge with main addons
bzr revid: amp@tinyerp.com-20120903093201-eq3x6k3zthdh9cve
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,)) |
