ProductSupplier is linked to template not product
This commit is contained in:
@@ -128,7 +128,7 @@ class StockSupplyTestCase(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