[FIX] Typo

bzr revid: stephane@tinyerp.com-20090325163959-t4shlax6p6z69o9h
This commit is contained in:
Stephane Wirtel 2009-03-25 17:39:59 +01:00
parent c7ee0c5933
commit e254b6aa76
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class account_analytic_plan_instance(osv.osv):
if self.pool.get('account.analytic.account').search(cr,uid,[('parent_id','child_of',[item.root_analytic_id.id]),('id','=',tempo[2]['analytic_account_id'])]):
total_per_plan += tempo[2]['rate']
if total_per_plan < item.min_required or total_per_plan > item.max_required:
raise osv.except_osv(_('Value Error') ,_('The Total Should be Between %s and %s" % (str(item.min_required), str(item.max_required))))
raise osv.except_osv(_('Value Error') ,_('The Total Should be Between %s and %s') % (str(item.min_required), str(item.max_required)))
return super(account_analytic_plan_instance, self).create(cr, uid, vals, context)