From 8e358cb71e14677af532e719cc2bb4a82d08dd73 Mon Sep 17 00:00:00 2001 From: sergio-teruel Date: Fri, 27 May 2022 09:47:21 +0200 Subject: [PATCH] [FIX] stock_available: Not duplicate the product attribute name for avoid to crash the tests --- stock_available/tests/test_stock_available.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stock_available/tests/test_stock_available.py b/stock_available/tests/test_stock_available.py index 637d2828e..bf5a6fa9d 100644 --- a/stock_available/tests/test_stock_available.py +++ b/stock_available/tests/test_stock_available.py @@ -27,7 +27,7 @@ class TestStockLogisticsWarehouse(TransactionCase): customer_location = self.env.ref("stock.stock_location_customers") uom_unit = self.env.ref("uom.product_uom_unit") - size_attr = self.env["product.attribute"].create({"name": "Size"}) + size_attr = self.env["product.attribute"].create({"name": "Size Test"}) size_attr_value_s = self.env["product.attribute.value"].create( {"name": "S", "attribute_id": size_attr.id} )