Skip to content
Snippets Groups Projects
Commit e155d91a authored by Touati Djamel (otd)'s avatar Touati Djamel (otd)
Browse files

[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#118598

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent edaee8e2
No related branches found
No related tags found
No related merge requests found
......@@ -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({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment