From 990c2d807f76fbdf478a689a9eabe581f85d262d Mon Sep 17 00:00:00 2001 From: Raimon Esteve Date: Thu, 25 Nov 2021 09:40:51 +0100 Subject: [PATCH] Adapt tests to centimeters capitalization issue10973 --- tests/scenario_product_cost_plan.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scenario_product_cost_plan.rst b/tests/scenario_product_cost_plan.rst index aa9c463..e97a550 100644 --- a/tests/scenario_product_cost_plan.rst +++ b/tests/scenario_product_cost_plan.rst @@ -74,7 +74,7 @@ Create product:: Create Components:: >>> meter, = ProductUom.find([('name', '=', 'Meter')]) - >>> centimeter, = ProductUom.find([('name', '=', 'centimeter')]) + >>> centimeter, = ProductUom.find([('symbol', '=', 'cm')]) >>> templateA = ProductTemplate() >>> templateA.name = 'component A' >>> templateA.default_uom = meter