ProductSupplier is linked to template not product

This commit is contained in:
Cédric Krier committed 2013-03-21 09:56:19 +01:00
1 parent 06ff7b9e94
commit 4cb70e3f09
1 file changed
+1 -1
+1 -1
View File
@@ -150,7 +150,7 @@ class StockSupplyDayTestCase(unittest.TestCase):
'account_payable': payable.id,
}])
product_supplier, = self.product_supplier.create([{
'product': product.id,
'product': template.id,
'company': company.id,
'party': supplier.id,
'delivery_time': delivery_time,