Commit 153e5452 by Rafael Monnerat

slapos_jio: Get current location/project at the present date.

1 parent 86779556
# This script might not be efficient to a large quantities of
# Computers
kw = {"node_uid": context.getUid()}
from DateTime import DateTime
kw = {"node_uid": context.getUid(),
"at_date": DateTime()}
return [ i.getObject()
for i in context.portal_simulation.getCurrentTrackingList(**kw)]
# This script might not be efficient to a large quantities of
# Computers
from DateTime import DateTime
kw = {"project_uid": context.getUid()}
kw = {"project_uid": context.getUid(),
"at_date": DateTime()}
return [ i.getObject()
for i in context.portal_simulation.getCurrentTrackingList(**kw)]
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!