[FIX]warning: In warning module onchange_partner_id has some re assignation of values
lp bug: https://launchpad.net/bugs/920530 fixed bzr revid: mma@tinyerp.com-20121128061754-bkccr0wdts8jygr0
This commit is contained in:
parent
09eccd07dc
commit
e9cb8f9a6f
|
@ -136,7 +136,7 @@ class account_invoice(osv.osv):
|
|||
'message': message
|
||||
}
|
||||
result = super(account_invoice, self).onchange_partner_id(cr, uid, ids, type, partner_id,
|
||||
date_invoice=False, payment_term=False, partner_bank_id=False)
|
||||
date_invoice, payment_term, partner_bank_id, company_id)
|
||||
|
||||
if result.get('warning',False):
|
||||
warning['title'] = title and title +' & '+ result['warning']['title'] or result['warning']['title']
|
||||
|
|
Loading…
Reference in New Issue