details:   https://code.tryton.org/tryton/commit/e0de429d07b8
branch:    default
user:      Cédric Krier <[email protected]>
date:      Tue Feb 10 12:37:51 2026 +0100
description:
        Reset to draft only non draft sales in stock quantity test scenario
diffstat:

 modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f3efc63c5666 -r e0de429d07b8 
modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst
--- a/modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst        
Tue Feb 10 17:42:42 2026 +0100
+++ b/modules/sale_stock_quantity/tests/scenario_sale_stock_quantity.rst        
Tue Feb 10 12:37:51 2026 +0100
@@ -143,7 +143,7 @@
 
 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::

Reply via email to