From 4332fde8f06d0e88f12091b5f73ab312fd68c271 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 23 Nov 2009 15:36:39 +0000
Subject: [PATCH] source_project and destination_project should acquire from
 Project type portal types not from Order type portal types.

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

diff --git a/product/ERP5/PropertySheet/Arrow.py b/product/ERP5/PropertySheet/Arrow.py
index 30403abb0b..f1b88c656c 100644
--- a/product/ERP5/PropertySheet/Arrow.py
+++ b/product/ERP5/PropertySheet/Arrow.py
@@ -549,7 +549,7 @@ class Arrow:
             'description' : 'The title of the source project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('source_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getTitle',
             'acquisition_depends'           : None,
@@ -559,7 +559,7 @@ class Arrow:
             'description' : 'The id of the source project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('source_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getId',
             'acquisition_depends'           : None,
@@ -569,7 +569,7 @@ class Arrow:
             'description' : 'The titles of the source project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('source_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
@@ -580,7 +580,7 @@ class Arrow:
             'description' : 'The title of the destination project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('destination_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getTitle',
             'acquisition_depends'           : None,
@@ -590,7 +590,7 @@ class Arrow:
             'description' : 'The id of the destination project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('destination_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getId',
             'acquisition_depends'           : None,
@@ -600,7 +600,7 @@ class Arrow:
             'description' : 'The titles of the destination project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('destination_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
+            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
-- 
2.30.9