[FIX] purchase: fix test_supplier_list_in_product_with_multicompany
Install only the “purchase” module and run the test, it’ll always fail since the product type is added in the stock module Bug introduced in: https://github.com/odoo/odoo/pull/117956 Solution: Use the consumable type instead closes odoo/odoo#118672 X-original-commit: e155d91a906fabff02c0d34af51f874daebef909 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
@@ -381,7 +381,6 @@ class TestPurchase(AccountTestInvoicingCommon):
|
||||
company_b = self.company_data_2['company']
|
||||
product = self.env['product.product'].create({
|
||||
'name': 'product_test',
|
||||
'type': 'product',
|
||||
})
|
||||
# create a purchase order in the company A
|
||||
self.env['purchase.order'].with_company(company_a).create({
|
||||
|
||||
Reference in New Issue
Block a user