[FIX] purchase: get taxes when create rfq from bid
When creating a request for quotation from a call for bids, the suppliers taxes where not present in the quotation. Since a product `taxes_id` field is a many2many, the unused triplets syntax caused the issue. fixes #5307
This commit is contained in:
parent
021c1a26c5
commit
c40d5065fa
|
@ -170,7 +170,7 @@ class purchase_requisition(osv.osv):
|
|||
'order_id': purchase_id,
|
||||
'product_id': product.id,
|
||||
'account_analytic_id': requisition_line.account_analytic_id.id,
|
||||
'taxes_id': [(6, 0, vals.get('taxes_ids', []))],
|
||||
'taxes_id': [(6, 0, vals.get('taxes_id', []))],
|
||||
})
|
||||
return vals
|
||||
|
||||
|
|
Loading…
Reference in New Issue