Skip to content
Snippets Groups Projects
Commit 7ede1bc1 authored by Guewen Baconnier's avatar Guewen Baconnier Committed by Martin Trigaux
Browse files

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

Follows 31a01ea7, 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
parent d4569a16
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment