Commit ed595dd2 authored by Łukasz Nowak's avatar Łukasz Nowak

Explicitely select delivery lines in proper states.

parent 2f986fd6
......@@ -119,6 +119,7 @@ def SlapDocument_migrateSlapState(self):
explanation_delivery_line = portal.portal_catalog.getResultValue(
portal_type='Sale Packing List Line',
simulation_state=['ready', 'confirmed', 'started', 'stopped', 'delivered'],
query=ComplexQuery(
Query(default_aggregate_uid=slap_document.getUid()),
Query(default_resource_uid=[
......
109
\ No newline at end of file
110
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment