account: one wording error in invoice's exception

bzr revid: p_christ@hol.gr-20101127201605-lzfk017mhmbbqwx8
This commit is contained in:
P. Christeas 2010-11-27 22:16:05 +02:00
parent 8fa6d985a7
commit 9e01e43db8
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ class account_invoice(osv.osv):
raise orm.except_orm(_('Configuration Error!'),
_('There is no Accounting Journal of type Sale/Purchase defined!'))
else:
raise orm.except_orm(_('UnknownError'), str(e))
raise orm.except_orm(_('Unknown Error'), str(e))
def confirm_paid(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'state':'paid'}, context=context)