From aeff0fb8048ae165a7a3788619542ae16fe98ab7 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 12 Jul 2004 08:52:04 +0000
Subject: [PATCH] added target source / dest / section

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1138 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/Extensions/InitializeAcquisition.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/Extensions/InitializeAcquisition.py b/product/ERP5/Extensions/InitializeAcquisition.py
index 2582c7a0c8..f5dcf633fa 100755
--- a/product/ERP5/Extensions/InitializeAcquisition.py
+++ b/product/ERP5/Extensions/InitializeAcquisition.py
@@ -1,5 +1,6 @@
 from Products.ERP5.ERP5Globals import *
 from Products.ERP5.Tool.Category import addBaseCategory
+from Products.ERP5Type.Utils import convertToUpperCase
 
 # This script defines init values for all base categories
 
@@ -9,7 +10,9 @@ def setBaseAcquisition(self):
   #   we should not use causality here because of production reports
   #   for which source or destination can be None (ie. different from Production Order)
   for bc in ('source', 'destination',
-             'source_section', 'destination_section', ):
+             'target_source', 'target_destination',
+             'source_section', 'destination_section', 
+             'target_source_section', 'target_destination_section',):
     if not hasattr(pc, bc):
       addBaseCategory(pc, bc)
     pc[bc].setAcquisitionBaseCategoryList(('delivery', 'order', 'parent', ))
-- 
2.30.9