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::