Commit 9a5a6dc5 authored by Jérome Perrin's avatar Jérome Perrin

pass rule_reference to Delivery.updateAppliedRule, not rule_id which is deprecated

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18400 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d63f617
...@@ -96,7 +96,7 @@ if applied_rule is marker:\n ...@@ -96,7 +96,7 @@ if applied_rule is marker:\n
elif applied_rule is None:\n elif applied_rule is None:\n
pass \n pass \n
elif applied_rule:\n elif applied_rule:\n
delivery.updateAppliedRule(rule_id=applied_rule, **kw)\n delivery.updateAppliedRule(rule_reference=applied_rule, **kw)\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
......
647 648
\ 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