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

- passing rule_id to updateAppliedRule is depracated, use rule_reference instead


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29466 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3722f078
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
previous_tag = task.getPath() + \'_firstUpdateAppliedRule\'\n previous_tag = task.getPath() + \'_firstUpdateAppliedRule\'\n
expand_tag = task.getPath() + \'_expand\'\n expand_tag = task.getPath() + \'_expand\'\n
activate_kw = {\'tag\':expand_tag,\'priority\':3}\n activate_kw = {\'tag\':expand_tag,\'priority\':3}\n
task.activate(tag=expand_tag,after_tag=previous_tag).updateAppliedRule(rule_id = \'default_order_rule\',activate_kw=activate_kw)\n task.activate(tag=expand_tag,after_tag=previous_tag).updateAppliedRule(rule_reference = \'default_order_rule\',activate_kw=activate_kw)\n
\n \n
delivery_builder = task.portal_deliveries.task_report_builder\n delivery_builder = task.portal_deliveries.task_report_builder\n
delivery_builder.activate(activity=\'SQLQueue\',after_tag=expand_tag).build(explanation_uid=task.getUid())\n delivery_builder.activate(activity=\'SQLQueue\',after_tag=expand_tag).build(explanation_uid=task.getUid())\n
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
\n \n
tag = task.getPath() + \'_firstUpdateAppliedRule\'\n tag = task.getPath() + \'_firstUpdateAppliedRule\'\n
activate_kw = {\'tag\':tag,\'priority\':3}\n activate_kw = {\'tag\':tag,\'priority\':3}\n
task.activate(tag=tag).updateAppliedRule(rule_id = \'default_order_rule\',activate_kw=activate_kw)\n task.activate(tag=tag).updateAppliedRule(rule_reference = \'default_order_rule\',activate_kw=activate_kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
671 672
\ 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