[FIX] sale: copy sales team on the invoice from a sale order

Follows 31a01ea, propagation of some fields from sales orders to invoices (when
created on deliveries) have been added but it missed the section_id field (Sales Team).
Fixes #4155
This commit is contained in:
Guewen Baconnier 2014-12-10 11:58:03 +01:00 committed by Martin Trigaux
parent d4569a1628
commit 7ede1bc1c6
1 changed files with 1 additions and 0 deletions

View File

@ -453,6 +453,7 @@ class stock_picking(osv.osv):
'fiscal_position': sale.fiscal_position.id,
'payment_term': sale.payment_term.id,
'user_id': sale.user_id.id,
'section_id': sale.section_id.id,
'name': sale.client_order_ref or '',
})
return inv_vals