From ba3e06d9a343f4c4b1671af883c0fb2d72ac7c10 Mon Sep 17 00:00:00 2001
From: Yusei Tahara <yusei@nexedi.com>
Date: Tue, 23 Mar 2010 05:43:22 +0000
Subject: [PATCH] Pass **kw argument to calculation script.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33977 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/TradeModelLine.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Document/TradeModelLine.py b/product/ERP5/Document/TradeModelLine.py
index f6b009bf52..0caf6a4d11 100644
--- a/product/ERP5/Document/TradeModelLine.py
+++ b/product/ERP5/Document/TradeModelLine.py
@@ -369,7 +369,8 @@ class TradeModelLine(Predicate, XMLMatrix, Amount):
               current_aggregated_amount_list=movement_list,
               current_movement=tmp_movement,
               aggregated_movement_list=aggregated_movement_list,
-              trade_model_line=self)
+              trade_model_line=self,
+              **kw)
         if tmp_movement is None:
           # Do nothing
           return aggregated_amount_list
-- 
2.30.9