From 1f2b58f0791b45f061ed9e86e4bc41a14f005ca3 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Wed, 7 Jan 2009 13:56:33 +0000
Subject: [PATCH] use getPortalProjectTypeList instead

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25030 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Task.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/PropertySheet/Task.py b/product/ERP5/PropertySheet/Task.py
index 5256412437..5f6fab3b43 100644
--- a/product/ERP5/PropertySheet/Task.py
+++ b/product/ERP5/PropertySheet/Task.py
@@ -50,7 +50,7 @@ class Task:
             'range'       : True,
             'default'     : None,
             'acquisition_base_category'     : ('delivery', 'order', 'parent',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList() + portal.getPortalSupplyTypeList() + ("Project",)'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList() + portal.getPortalSupplyTypeList() + portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_mask_value'        : 1,
             'acquisition_accessor_id'       : 'getStartDate',
@@ -62,7 +62,7 @@ class Task:
             'range'       : True,
             'default'     : None,
             'acquisition_base_category'     : ('delivery', 'order', 'parent',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList() + portal.getPortalSupplyTypeList() + ("Project",)'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalAcquisitionMovementTypeList() + portal.getPortalDeliveryTypeList() + portal.getPortalOrderTypeList() + portal.getPortalInvoiceTypeList() + portal.getPortalSupplyTypeList() + portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_mask_value'        : 1,
             'acquisition_accessor_id'       : 'getStopDate',
-- 
2.30.9