Commit 35681560 authored by Romain Courteaud's avatar Romain Courteaud

Useless join

parent 889b71eb
...@@ -68,7 +68,7 @@ if obj is None:\n ...@@ -68,7 +68,7 @@ if obj is None:\n
\n \n
portal = obj.getPortalObject()\n portal = obj.getPortalObject()\n
\n \n
state_list = portal.getPortalCurrentInventoryStateList() + \\\n state_list = [\'stopped\'] + \\\n
portal.getPortalReservedInventoryStateList() + \\\n portal.getPortalReservedInventoryStateList() + \\\n
portal.getPortalTransitInventoryStateList()\n portal.getPortalTransitInventoryStateList()\n
\n \n
...@@ -76,7 +76,7 @@ resource_list = [portal.portal_preferences.getPreferredInstanceSetupResource(),\ ...@@ -76,7 +76,7 @@ resource_list = [portal.portal_preferences.getPreferredInstanceSetupResource(),\
portal.portal_preferences.getPreferredInstanceHostingResource()]\n portal.portal_preferences.getPreferredInstanceHostingResource()]\n
\n \n
sale_packing_list_line = portal.portal_catalog.getResultValue(\n sale_packing_list_line = portal.portal_catalog.getResultValue(\n
resource_relative_url=resource_list,\n default_resource_uid=[portal.restrictedTraverse(x).getUid() for x in resource_list],\n
aggregate_uid=obj.getUid(),\n aggregate_uid=obj.getUid(),\n
portal_type="Sale Packing List Line",\n portal_type="Sale Packing List Line",\n
simulation_state=state_list)\n simulation_state=state_list)\n
......
359 360
\ No newline at end of file \ 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