From f06ae5f4d88a8f67b975c83b0cd2e6913456a300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 10 Feb 2026 12:37:51 +0100 Subject: [PATCH] Reset to draft only non draft sales in stock quantity test scenario --- .../sale_stock_quantity/tests/scenario_sale_stock_quantity.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst b/modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst index ac6c0b0a93..74067f929c 100644 --- a/modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst +++ b/modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst @@ -143,7 +143,7 @@ Sale 2 more products with not enough stock:: Clean sales:: - >>> Sale.click(Sale.find([]), 'draft') + >>> Sale.click(Sale.find([('state', '!=', 'draft')]), 'draft') >>> Sale.delete(Sale.find([])) Sale 6 products with not enough stock::