diff options
| author | Jignesh Rathod (Open ERP) <jir@tinyerp.com> | 2012-08-24 15:02:40 +0530 |
|---|---|---|
| committer | Jignesh Rathod (Open ERP) <jir@tinyerp.com> | 2012-08-24 15:02:40 +0530 |
| commit | 3b73e7e17314cee1db449222b8e59e1b2be05f4a (patch) | |
| tree | 0fb14e9ac7205c0471a21c40be961792dea77983 /addons/analytic_user_function/analytic_user_function.py | |
| parent | d6fcf87a89be305b80323755e553f054282ec7b0 (diff) | |
| parent | 25dd249ecb9aff63aeb13f85d65c0c13d3df8751 (diff) | |
[MERGE]: Merge with lp:openobject-addons
bzr revid: jir@tinyerp.com-20120824093240-xu2vnw5pfnlt3437
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,)) |
