Commit 70c140c0 authored by Łukasz Nowak's avatar Łukasz Nowak

- use rule_reference instead of rule_id

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22560 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 591639df
......@@ -70,7 +70,7 @@
previous_tag = order.getPath() + \'_firstUpdateAppliedRule\'\n
expand_tag = order.getPath() + \'_expand\'\n
activate_kw = {\'tag\':expand_tag,\'priority\':3}\n
order.activate(tag=expand_tag,after_tag=previous_tag).updateAppliedRule(rule_id = \'default_production_order_rule\',activate_kw=activate_kw)\n
order.activate(tag=expand_tag,after_tag=previous_tag).updateAppliedRule(rule_reference = \'default_production_order_rule\',activate_kw=activate_kw)\n
\n
\n
delivery_builder_list = [\n
......
......@@ -69,7 +69,7 @@
\n
tag = order.getPath() + \'_firstUpdateAppliedRule\'\n
activate_kw = {\'tag\':tag,\'priority\':3}\n
order.activate(tag=tag).updateAppliedRule(rule_id = \'default_production_order_rule\',activate_kw=activate_kw)\n
order.activate(tag=tag).updateAppliedRule(rule_reference = \'default_production_order_rule\',activate_kw=activate_kw)\n
</string> </value>
</item>
<item>
......
374
\ No newline at end of file
375
\ 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