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

Avoid building hosting subscription movements.

They are related to Open Orders, which logic is incorrect.
parent 145d7e6d
...@@ -54,6 +54,10 @@ ...@@ -54,6 +54,10 @@
# movement build but not indexed, so do nothing\n # movement build but not indexed, so do nothing\n
return\n return\n
\n \n
if context.getResource() == \'service_module/vifib_instance_subscription\':\n
# XXX-Luke: Avoid building until Open Order logic is fixed\n
return\n
\n
root_applied_rule = context.getRootAppliedRule()\n root_applied_rule = context.getRootAppliedRule()\n
\n \n
context.getCausalityValue(portal_type=\'Business Link\').build(path=\'%s/%%\' % root_applied_rule.getPath(), activate_kw={\'tag\': tag})\n context.getCausalityValue(portal_type=\'Business Link\').build(path=\'%s/%%\' % root_applied_rule.getPath(), activate_kw={\'tag\': tag})\n
......
585 586
\ No newline at end of file \ 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