[FIX] wording

bzr revid: fp@tinyerp.com-20121114171920-pxyq9qp5vcjm79yc
This commit is contained in:
Fabien Pinckaers 2012-11-14 18:19:20 +01:00
parent 9e7f6b3e83
commit e6586d1631
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ class account_invoice(osv.osv):
if t['state'] in ('draft', 'cancel') and t['internal_number']== False:
unlink_ids.append(t['id'])
else:
raise osv.except_osv(_('Invalid Action!'), _('You cannot delete an invoice which is open or paid. You should refund it instead.'))
raise osv.except_osv(_('Invalid Action!'), _('You can not delete an invoice which is not cancelled. You should refund it instead.'))
osv.osv.unlink(self, cr, uid, unlink_ids, context=context)
return True