[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:
Nicolas Lempereur 2015-03-03 09:51:08 +01:00
parent 021c1a26c5
commit c40d5065fa
1 changed files with 1 additions and 1 deletions

View File

@ -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