From 79eb9187baee0511e4b07ac39746403ac4e02858 Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Wed, 3 Aug 2022 10:57:50 +0000 Subject: [PATCH] [FIX] website_sale: fix invalid product type in test Prior to this commit a non existing product type was used in one of the test. This commit changes it to an existing one. closes odoo/odoo#97380 Signed-off-by: William Braeckman (wbr) --- .../tests/test_website_sale_show_compare_list_price.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/website_sale/tests/test_website_sale_show_compare_list_price.py b/addons/website_sale/tests/test_website_sale_show_compare_list_price.py index 18abfb902f8..73f55739d99 100644 --- a/addons/website_sale/tests/test_website_sale_show_compare_list_price.py +++ b/addons/website_sale/tests/test_website_sale_show_compare_list_price.py @@ -13,13 +13,13 @@ class WebsiteSaleShopPriceListCompareListPriceDispayTests(HttpCase): cls.test_product_default = ProductTemplate.create({ 'name': 'test_product_default', - 'type': 'product', + 'type': 'consu', 'website_published': True, 'list_price': 1000 }) cls.test_product_with_compare_list_price = ProductTemplate.create({ 'name': 'test_product_with_compare_list_price', - 'type': 'product', + 'type': 'consu', 'website_published': True, 'list_price': 2000, 'compare_list_price': 2500 @@ -27,13 +27,13 @@ class WebsiteSaleShopPriceListCompareListPriceDispayTests(HttpCase): cls.test_product_with_pricelist = ProductTemplate.create({ 'name': 'test_product_with_pricelist', 'website_published': True, - 'type': 'product', + 'type': 'consu', 'list_price': 2000 }) cls.test_product_with_pricelist_and_compare_list_price = ProductTemplate.create({ 'name': 'test_product_with_pricelist_and_compare_list_price', 'website_published': True, - 'type': 'product', + 'type': 'consu', 'list_price': 4000, 'compare_list_price': 4500