ProductSupplier is linked to template not product
This commit is contained in:
1 parent
6ffab198d8
commit
126ea7eafe
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user