[REF] Account

bzr revid: jvo@tinyerp.com-20100830062831-ogdbungx8wavf0v7
This commit is contained in:
Jay (OpenERP) 2010-08-30 11:58:31 +05:30
parent 56efd64b55
commit 031a79f52e
4 changed files with 17 additions and 18 deletions

View File

@ -104,7 +104,6 @@ class account_bank_statement(osv.osv):
periods = self.pool.get('account.period').find(cr, uid)
if periods:
return periods[0]
else:
return False
def _currency(self, cursor, user, ids, name, args, context=None):

View File

@ -523,7 +523,7 @@ class account_invoice(osv.osv):
obj_l = account_obj.browse(cr, uid, inv_line[2]['account_id'])
if obj_l.company_id.id != company_id:
raise osv.except_osv(_('Configuration Error !'),
_('invoice line account company is not match with invoice company.'))
_('Invoice line account company does not match with invoice company.'))
else:
continue
if company_id and type: