From 06a0772d5d431fb44c2167dc1f36f4e5a126db2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Tue, 6 Jul 2010 15:27:21 +0000
Subject: [PATCH] add comment about the use of new amount generator

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@36904 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Document/PaySheetTransaction.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Document/PaySheetTransaction.py b/product/ERP5/Document/PaySheetTransaction.py
index 6122aefe24..72b67ff883 100644
--- a/product/ERP5/Document/PaySheetTransaction.py
+++ b/product/ERP5/Document/PaySheetTransaction.py
@@ -199,10 +199,14 @@ class PaySheetTransaction(Invoice):
           if not movement_list_trade_phase_dic.has_key(trade_phase):
             movement_list_trade_phase_dic[trade_phase] = []
           movement_list_trade_phase_dic[trade_phase].append(movement)
-
       for trade_phase in movement_list_trade_phase_dic.keys():
         business_link_list = business_process.getPathValueList(trade_phase=\
             trade_phase)
+        # XXX-Aurel
+        # must convert amount into simulation movement
+        # by calling method BusinessProcess.getTradePhaseMovementList
+        # for now delivery builder will fail because it calls setDeliveryValue
+        # which does not exists on amount
         for business_link in business_link_list:
           builder_list = [portal.restrictedTraverse(url) for url in\
                           business_link.getDeliveryBuilderList()]
-- 
2.30.9