From 423a08880133ca2db17dfb5756c82dcb973d7b4c Mon Sep 17 00:00:00 2001 From: Sebastien Robin <seb@nexedi.com> Date: Tue, 18 Oct 2005 16:03:25 +0000 Subject: [PATCH] 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 --- product/ERP5/Document/Order.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5/Document/Order.py b/product/ERP5/Document/Order.py index ae43986783..91a0c69265 100755 --- a/product/ERP5/Document/Order.py +++ b/product/ERP5/Document/Order.py @@ -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) -- 2.30.9