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

Fix condition.

Hosting Subscription periodicity shall be set when there is related at least
started instance setup delivery.
parent 093dafcd
......@@ -68,7 +68,7 @@
</item>
<item>
<key> <string>test_tales_expression</string> </key>
<value> <string>python: context.getPortalObject().portal_catalog.getResultValue(portal_type=\'Open Sale Order Line\', default_aggregate_uid=context.getUid()) is not None</string> </value>
<value> <string>python: context.getPortalObject().portal_catalog.getResultValue(portal_type=\'Sale Packing List Line\', default_aggregate_uid=context.getUid(), default_resource_uid=context.getPortalObject().restrictedTraverse(context.getPortalObject().portal_preferences.getPreferredInstanceSetupResource()).getUid(), simulation_state=(\'stopped\', \'delivered\')) is not None</string> </value>
</item>
</dictionary>
</pickle>
......
409
\ No newline at end of file
410
\ 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