Commit ed63dcf7 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix condition: only validated lines.

parent cb2bb4d2
No related merge requests found
......@@ -26,7 +26,7 @@
</item>
<item>
<key> <string>expression</string> </key>
<value> <string>python: len(context.getAggregateValue(portal_type=\'Hosting Subscription\').getAggregateRelatedList(portal_type=\'Open Sale Order Line\')) == 1</string> </value>
<value> <string>python: context.getPortalObject().portal_catalog.countResults(portal_type=\'Open Sale Order Line\', validation_state=\'validated\', default_aggregate_uid=context.getAggregateValue(portal_type=\'Hosting Subscription\').getUid())[0][0] == 1</string> </value>
</item>
<item>
<key> <string>id</string> </key>
......
395
\ No newline at end of file
396
\ 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