Commit b7461956 authored by Romain Courteaud's avatar Romain Courteaud

Propagate tag with activate_kw parameter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16801 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 07d976ff
...@@ -71,7 +71,11 @@ ...@@ -71,7 +71,11 @@
<value> <string>order = state_change[\'object\']\n <value> <string>order = state_change[\'object\']\n
\n \n
tag = order.getPath() + \'_firstUpdateAppliedRule\'\n tag = order.getPath() + \'_firstUpdateAppliedRule\'\n
order.activate(tag=tag).updateAppliedRule(tag=tag,rule_id = \'default_production_order_rule\',priority=3)\n activate_kw = {\'tag\': tag,\n
\'priority\': 3}\n
order.activate(**activate_kw).updateAppliedRule(\n
rule_id = \'default_production_order_rule\',\n
activate_kw=activate_kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -119,6 +123,8 @@ order.activate(tag=tag).updateAppliedRule(tag=tag,rule_id = \'default_production ...@@ -119,6 +123,8 @@ order.activate(tag=tag).updateAppliedRule(tag=tag,rule_id = \'default_production
<string>order</string> <string>order</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>tag</string> <string>tag</string>
<string>activate_kw</string>
<string>_apply_</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
44 45
\ 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