Commit 423a0888 authored by Sebastien Robin's avatar Sebastien Robin

allow to force optionaly the expand when doing updateAppliedRule


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4071 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 44b917d0
......@@ -127,10 +127,10 @@ class Order(Delivery):
##########################################################################
# Applied Rule stuff
def updateAppliedRule(self, rule_id="default_order_rule"):
def updateAppliedRule(self, rule_id="default_order_rule",force=0):
"""
XXX FIXME: Kept for compatibility
updateAppliedRule must be call with the rule_id in workflow script
"""
Delivery.updateAppliedRule(self, rule_id)
Delivery.updateAppliedRule(self, rule_id, force=force)
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