[FIX] l10n_ch onchange_partner_id defination changed

bzr revid: hda@tinyerp.com-20100407073817-6ihpr948ediozc8h
This commit is contained in:
HDA (OpenERP) 2010-04-07 13:08:17 +05:30
parent f38aa74b5f
commit f10bd47d01
1 changed files with 2 additions and 2 deletions

View File

@ -152,9 +152,9 @@ class account_invoice(osv.osv):
## @parma date_invoice date of the invoice
## @parma payment_term inoice payment term
## @param partner_bank_id the partner linked invoice bank
## @return the dict of values with the partner_bank value updated
## @return the dict of values with the partner_bank value updated
def onchange_partner_id(self, cr, uid, ids, type, partner_id,
date_invoice=False, payment_term=False, partner_bank_id=False):
date_invoice=False, payment_term=False, partner_bank_id=False, company_id=False):
""" Function that is call when the partner of the invoice is changed
it will retriev and set the good bank partner bank"""
res = super(account_invoice, self).onchange_partner_id(