Commit 9f6dc705 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Added Function relation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e1aa2a26
......@@ -420,6 +420,68 @@ class Arrow:
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'mode' : 'w' },
# Source function reference
{ 'id' : 'source_function_title',
'description' : 'The title of the source function of this movement',
'type' : 'string',
'acquisition_base_category' : ('source_function',),
'acquisition_portal_type' : Expression('python: portal.getPortalNodeTypeList()'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetSourceProjectTitle', ),
'mode' : 'w' },
{ 'id' : 'source_function_id',
'description' : 'The id of the source function of this movement',
'type' : 'string',
'acquisition_base_category' : ('source_function',),
'acquisition_portal_type' : Expression('python: portal.getPortalNodeTypeList()'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetSourceProjectId', ),
'mode' : 'w' },
{ 'id' : 'source_function_relative_url',
'description' : 'The titles of the source function of this movement',
'type' : 'string',
'acquisition_base_category' : ('source_function',),
'acquisition_portal_type' : Expression('python: portal.getPortalNodeTypeList()'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetSourceProjectRelativeUrl', ),
'mode' : 'w' },
# Destination function reference
{ 'id' : 'destination_function_title',
'description' : 'The title of the destination function of this movement',
'type' : 'string',
'acquisition_base_category' : ('destination_function',),
'acquisition_portal_type' : Expression('python: portal.getPortalNodeTypeList()'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getTitle',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetDestinationProjectTitle', ),
'mode' : 'w' },
{ 'id' : 'destination_function_id',
'description' : 'The id of the destination function of this movement',
'type' : 'string',
'acquisition_base_category' : ('destination_function',),
'acquisition_portal_type' : Expression('python: portal.getPortalNodeTypeList()'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getId',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetDestinationProjectId', ),
'mode' : 'w' },
{ 'id' : 'destination_function_relative_url',
'description' : 'The titles of the destination function of this movement',
'type' : 'string',
'acquisition_base_category' : ('destination_function',),
'acquisition_portal_type' : Expression('python: portal.getPortalNodeTypeList()'),
'acquisition_copy_value' : 0,
'acquisition_accessor_id' : 'getRelativeUrl',
'acquisition_depends' : None,
'alt_accessor_id' : ('_categoryGetDestinationProjectRelativeUrl', ),
'mode' : 'w' },
# Source project reference
{ 'id' : 'source_project_title',
'description' : 'The title of the source project of this movement',
......@@ -613,6 +675,7 @@ class Arrow:
'source_decision', 'destination_decision',
'source_administration', 'destination_administration',
'source_payment', 'destination_payment',
'source_function', 'destination_function',
'source_project', 'destination_project',
'source_budget', 'destination_budget',
'source_transport', 'destination_transport',
......
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