account: one wording error in invoice's exception
bzr revid: p_christ@hol.gr-20101127201605-lzfk017mhmbbqwx8
This commit is contained in:
parent
8fa6d985a7
commit
9e01e43db8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue