Commit 741e040b authored by Romain Courteaud's avatar Romain Courteaud

slapos_subscription_request: constraint: fixup empty price check

parent cb4f021f
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</item> </item>
<item> <item>
<key> <string>expression</string> </key> <key> <string>expression</string> </key>
<value> <string>python: not ((not context.getPrice()) and (context.getSourceSection(\'\') != context.getDestinationSection(\'\')))</string> </value> <value> <string>python: context.getPrice() or (context.getDestinationSection(\'\') in (context.getSourceSection(\'\'), \'\'))</string> </value>
</item> </item>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
......
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