Commit 4332fde8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

source_project and destination_project should acquire from Project type portal...

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
parent cab255c0
...@@ -549,7 +549,7 @@ class Arrow: ...@@ -549,7 +549,7 @@ class Arrow:
'description' : 'The title of the source project of this movement', 'description' : 'The title of the source project of this movement',
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('source_project',), 'acquisition_base_category' : ('source_project',),
'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalProjectTypeList()'),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle', 'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None, 'acquisition_depends' : None,
...@@ -559,7 +559,7 @@ class Arrow: ...@@ -559,7 +559,7 @@ class Arrow:
'description' : 'The id of the source project of this movement', 'description' : 'The id of the source project of this movement',
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('source_project',), 'acquisition_base_category' : ('source_project',),
'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalProjectTypeList()'),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId', 'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None, 'acquisition_depends' : None,
...@@ -569,7 +569,7 @@ class Arrow: ...@@ -569,7 +569,7 @@ class Arrow:
'description' : 'The titles of the source project of this movement', 'description' : 'The titles of the source project of this movement',
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('source_project',), 'acquisition_base_category' : ('source_project',),
'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalProjectTypeList()'),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl', 'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None, 'acquisition_depends' : None,
...@@ -580,7 +580,7 @@ class Arrow: ...@@ -580,7 +580,7 @@ class Arrow:
'description' : 'The title of the destination project of this movement', 'description' : 'The title of the destination project of this movement',
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('destination_project',), 'acquisition_base_category' : ('destination_project',),
'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalProjectTypeList()'),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle', 'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None, 'acquisition_depends' : None,
...@@ -590,7 +590,7 @@ class Arrow: ...@@ -590,7 +590,7 @@ class Arrow:
'description' : 'The id of the destination project of this movement', 'description' : 'The id of the destination project of this movement',
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('destination_project',), 'acquisition_base_category' : ('destination_project',),
'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalProjectTypeList()'),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId', 'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None, 'acquisition_depends' : None,
...@@ -600,7 +600,7 @@ class Arrow: ...@@ -600,7 +600,7 @@ class Arrow:
'description' : 'The titles of the destination project of this movement', 'description' : 'The titles of the destination project of this movement',
'type' : 'string', 'type' : 'string',
'acquisition_base_category' : ('destination_project',), 'acquisition_base_category' : ('destination_project',),
'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), 'acquisition_portal_type' : Expression('python: portal.getPortalProjectTypeList()'),
'acquisition_copy_value' : 0, 'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl', 'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None, 'acquisition_depends' : None,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment