diff options
| author | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-08-20 16:40:00 +0530 |
|---|---|---|
| committer | Ajay Chauhan (OpenERP) <cha@tinyerp.com> | 2012-08-20 16:40:00 +0530 |
| commit | 3b02c8a6cb226351cd9062f60e64c13a3ff635c9 (patch) | |
| tree | 75516836b24d64b256f61e8cd80e15e28d761861 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 20981ac1a30cf05f82f2467b65664931b5ebf579 (diff) | |
| parent | a730933cdb17f274692092820b6b6ab2c1fd5758 (diff) | |
[MERGE] Merge with main addons
bzr revid: cha@tinyerp.com-20120820111000-f4zjx3a7svj1vcab
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,)) |
