Commit b66a8327 authored by Gabriel Monnerat's avatar Gabriel Monnerat

filter Sale Packing Lists with states started and stopped

parent 6734018c
......@@ -55,7 +55,9 @@ service_relative_url = software_instance.portal_preferences.\\\n
getPreferredInstanceHostingResource()\n
\n
sale_packing_list_line_list = context.ERP5Site_getSlaveInstanceListFromComputerPartition(\n
software_instance.getRelativeUrl(), service_relative_url)\n
software_instance.getRelativeUrl(),\n
service_relative_url,\n
simulation_state=["started", "stopped"])\n
\n
for sale_packing_list_line in sale_packing_list_line_list:\n
slave_instance = sale_packing_list_line.getAggregateValue(portal_type="Slave Instance")\n
......
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