Commit 3f94a16d authored by Łukasz Nowak's avatar Łukasz Nowak

Just build.

There is not need to find Business Links, as it is related directly with
movement.
parent ccd9270d
......@@ -55,14 +55,8 @@
return\n
\n
root_applied_rule = context.getRootAppliedRule()\n
portal = context.getPortalObject()\n
portal.portal_catalog.searchAndActivate(\n
portal_type=\'Business Link\',\n
parent_uid=[portal.business_process_module.vifib_sale_business_process.getUid(), portal.business_process_module.vifib_purchase_business_process.getUid()],\n
method_id=\'build\',\n
method_kw={\'path\': \'%s/%%\' % root_applied_rule.getPath()},\n
activity_kw={\'tag\': tag}\n
)\n
\n
context.getCausalityValue(portal_type=\'Business Link\').build(path=\'%s/%%\' % root_applied_rule.getPath(), activate_kw={\'tag\': tag})\n
</string> </value>
</item>
<item>
......
584
\ No newline at end of file
585
\ 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