Commit 9d833d16 authored by Łukasz Nowak's avatar Łukasz Nowak

Access is needed even for destroyed documents.

Computer might need access to destroyed hosting subscription in order to
update its simulation.
parent 9fbcccd3
...@@ -79,7 +79,7 @@ for movement in portal.portal_catalog(\n ...@@ -79,7 +79,7 @@ for movement in portal.portal_catalog(\n
portal_type=movement_portal_type,\n portal_type=movement_portal_type,\n
aggregate_uid=obj.getUid(),\n aggregate_uid=obj.getUid(),\n
default_resource_uid=portal.restrictedTraverse(portal.portal_preferences.getPreferredInstanceSetupResource()).getUid(),\n default_resource_uid=portal.restrictedTraverse(portal.portal_preferences.getPreferredInstanceSetupResource()).getUid(),\n
simulation_state=(\'stopped\',) + portal.getPortalReservedInventoryStateList() + portal.getPortalTransitInventoryStateList(),\n simulation_state=(\'stopped\', \'delivered\') + portal.getPortalReservedInventoryStateList() + portal.getPortalTransitInventoryStateList(),\n
):\n ):\n
item = movement.getAggregateValue(portal_type=item_portal_type)\n item = movement.getAggregateValue(portal_type=item_portal_type)\n
if item is not None:\n if item is not None:\n
......
427 428
\ 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