ProductSupplier is linked to template not product

This commit is contained in:
Cédric Krier committed 2013-03-26 11:58:27 +01:00
1 parent 6ffab198d8
commit 126ea7eafe
1 file changed
+1 -1
+1 -1
View File
@@ -145,7 +145,7 @@ class StockSupplyDayTestCase(unittest.TestCase):
'account_payable': payable.id,
})
product_supplier = self.product_supplier.create({
'product': product.id,
'product': product.template.id,
'company': company.id,
'party': supplier.id,
'delivery_time': delivery_time,