[FIX]warning: In warning module onchange_partner_id has some re assignation of values
bzr revid: mma@tinyerp.com-20121128065318-wzo9rj4dh902bbom
This commit is contained in:
parent
e9cb8f9a6f
commit
387132bc14
|
@ -136,7 +136,8 @@ class account_invoice(osv.osv):
|
|||
'message': message
|
||||
}
|
||||
result = super(account_invoice, self).onchange_partner_id(cr, uid, ids, type, partner_id,
|
||||
date_invoice, payment_term, partner_bank_id, company_id)
|
||||
date_invoice=date_invoice, payment_term=payment_term,
|
||||
partner_bank_id=partner_bank_id, company_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