[FIX] sale: some leftovers section_id renamed to team_id
This commit is contained in:
@@ -49,7 +49,7 @@ class sale_order_line_make_invoice(osv.osv_memory):
|
||||
'user_id': order.user_id and order.user_id.id or False,
|
||||
'company_id': order.company_id and order.company_id.id or False,
|
||||
'date_invoice': fields.date.today(),
|
||||
'section_id': order.section_id.id,
|
||||
'team_id': order.team_id.id,
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ class sale_advance_payment_inv(osv.osv_memory):
|
||||
'comment': '',
|
||||
'payment_term': sale.payment_term.id,
|
||||
'fiscal_position': sale.fiscal_position.id or sale.partner_id.property_account_position.id,
|
||||
'section_id': sale.section_id.id,
|
||||
'team_id': sale.team_id.id,
|
||||
}
|
||||
result.append((sale.id, inv_values))
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user