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