Commit 34b74e40 authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify.

parent 1e2a4373
......@@ -50,10 +50,9 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string>portal_catalog = context.getPortalObject().portal_catalog\n
simulation_state = \'planned\'\n
<value> <string>simulation_state = \'planned\'\n
# use catalog to prefetch, but check later in ZODB\n
return [q.getObject() for q in portal_catalog(\n
return [q.getObject() for q in context.getPortalObject().portal_catalog(\n
portal_type=\'Sale Invoice Transaction\',\n
simulation_state=simulation_state) if q.getSimulationState() == simulation_state]\n
</string> </value>
......
346
\ No newline at end of file
347
\ 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