[FIX] Sale: Passing Contact address for invoices from SO
lp bug: https://launchpad.net/bugs/436008 fixed bzr revid: jvo@tinyerp.com-20090925132813-jrhul80rsxdo6aay
This commit is contained in:
parent
667d3f782d
commit
872b75d4f3
|
@ -374,7 +374,7 @@ class sale_order(osv.osv):
|
|||
'account_id': a,
|
||||
'partner_id': order.partner_id.id,
|
||||
'address_invoice_id': order.partner_invoice_id.id,
|
||||
'address_contact_id': order.partner_invoice_id.id,
|
||||
'address_contact_id': order.partner_order_id.id,
|
||||
'invoice_line': [(6, 0, lines)],
|
||||
'currency_id': order.pricelist_id.currency_id.id,
|
||||
'comment': order.note,
|
||||
|
|
Loading…
Reference in New Issue