From d5cfb647091103ac1a95ed6c49f9fb3d9b04bebe Mon Sep 17 00:00:00 2001 From: Tatuya Kamada <tatuya@nexedi.com> Date: Mon, 15 Feb 2010 12:35:46 +0000 Subject: [PATCH] Fix to set a movement as the getExpectedQuantity() parameter bucause the method requires at least one parameter. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32543 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/Rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Document/Rule.py b/product/ERP5/Document/Rule.py index a8193562d7..a8529e058e 100644 --- a/product/ERP5/Document/Rule.py +++ b/product/ERP5/Document/Rule.py @@ -590,7 +590,7 @@ class Rule(Predicate, XMLObject): property_dict['%s_list' % base_category] = [] # Amount - property_dict['quantity'] = business_path.getExpectedQuantity() + property_dict['quantity'] = business_path.getExpectedQuantity(movement) # Date if movement.getStartDate() == movement.getStopDate(): -- 2.30.9