diff --git a/src/senaite/core/profiles/default/workflows/senaite_sample_workflow/definition.xml b/src/senaite/core/profiles/default/workflows/senaite_sample_workflow/definition.xml index fe23ccf321..3595b963f7 100644 --- a/src/senaite/core/profiles/default/workflows/senaite_sample_workflow/definition.xml +++ b/src/senaite/core/profiles/default/workflows/senaite_sample_workflow/definition.xml @@ -603,6 +603,7 @@ + @@ -627,7 +628,7 @@ - + @@ -793,6 +794,7 @@ + @@ -817,7 +819,7 @@ - + @@ -896,6 +898,7 @@ + @@ -916,7 +919,7 @@ - + diff --git a/src/senaite/core/tests/doctests/WorkflowAnalysisRequestCreatePartitions.rst b/src/senaite/core/tests/doctests/WorkflowAnalysisRequestCreatePartitions.rst index f3fd4658a0..33f6750acd 100644 --- a/src/senaite/core/tests/doctests/WorkflowAnalysisRequestCreatePartitions.rst +++ b/src/senaite/core/tests/doctests/WorkflowAnalysisRequestCreatePartitions.rst @@ -91,13 +91,13 @@ Submit all analyses: ... analysis.setResult(12) ... success = do_action_for(analysis, "submit") -Partitions cannot be created when the status is `to_be_verified`: +Partitions can be created when the status is `to_be_verified`: >>> api.get_workflow_status_of(ar) 'to_be_verified' >>> isTransitionAllowed(ar, "create_partitions") - False + True Verify all analyses: @@ -106,22 +106,22 @@ Verify all analyses: ... success = do_action_for(analysis, "verify") >>> setup.setSelfVerificationEnabled(False) -Partitions cannot be created when the status is `verified`: +Partitions can be created when the status is `verified`: >>> api.get_workflow_status_of(ar) 'verified' >>> isTransitionAllowed(ar, "create_partitions") - False + True -Partitions cannot be created when the status is `published`: +Partitions can be created when the status is `published`: >>> success = do_action_for(ar, "publish") >>> api.get_workflow_status_of(ar) 'published' >>> isTransitionAllowed(ar, "create_partitions") - False + True Partitions cannot be created when the status is `invalid`: