[Erp5-report] r30835 - /erp5/trunk/products/ERP5/PropertySheet/Arrow.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 24 09:43:34 CET 2009


Author: kazuhiko
Date: Tue Nov 24 09:43:33 2009
New Revision: 30835

URL: http://svn.erp5.org?rev=30835&view=rev
Log:
remove *_title and *_id from _properties because they are provided automatically. *_relative_url are kept as they are for now for compatibility.

Modified:
    erp5/trunk/products/ERP5/PropertySheet/Arrow.py

Modified: erp5/trunk/products/ERP5/PropertySheet/Arrow.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Arrow.py?rev=30835&r1=30834&r2=30835&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Arrow.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Arrow.py [utf8] Tue Nov 24 09:43:33 2009
@@ -38,26 +38,6 @@
 
     _properties = (
         # Source reference
-        {   'id'          : 'source_title',
-            'description' : 'The title of the source of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_id',
-            'description' : 'The id of the destination of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceId', ),
-            'mode'        : 'w' },
         {   'id'          : 'source_relative_url',
             'description' : 'The titles of the destination of this movement',
             'type'        : 'string',
@@ -87,26 +67,6 @@
             'acquisition_depends'           : None,
             'mode'        : 'r' },
         # Destination reference
-        {   'id'          : 'destination_title',
-            'description' : 'The title of the destination of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_id',
-            'description' : 'The id of the destination of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationId', ),
-            'mode'        : 'w' },
         {   'id'          : 'destination_relative_url',
             'description' : 'The titles of the destination of this movement',
             'type'        : 'string',
@@ -136,26 +96,6 @@
             'acquisition_depends'           : None,
             'mode'        : 'r' },
         # Source decision reference
-        {   'id'          : 'source_decision_title',
-            'description' : 'The title of the source decision of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_decision',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceDecisionTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_decision_id',
-            'description' : 'The id of the source decision of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_decision',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceDecisionId', ),
-            'mode'        : 'w' },
         {   'id'          : 'source_decision_relative_url',
             'description' : 'The titles of the source decision of this movement',
             'type'        : 'string',
@@ -167,26 +107,6 @@
             'alt_accessor_id'               : ('_categoryGetSourceDecisionRelativeUrl', ),
             'mode'        : 'w' },
         # Destination decision reference
-        {   'id'          : 'destination_decision_title',
-            'description' : 'The title of the destination decision of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_decision',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationDecisionTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_decision_id',
-            'description' : 'The id of the destination decision of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_decision',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationDecisionId', ),
-            'mode'        : 'w' },
         {   'id'          : 'destination_decision_relative_url',
             'description' : 'The titles of the destination decision of this movement',
             'type'        : 'string',
@@ -198,26 +118,6 @@
             'alt_accessor_id'               : ('_categoryGetDestinationDecisionRelativeUrl', ),
             'mode'        : 'w' },
         # Source section reference
-        {   'id'          : 'source_section_title',
-            'description' : 'The title of the source section of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_section',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceSectionTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_section_id',
-            'description' : 'The id of the source section of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_section',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceSectionId', ),
-            'mode'        : 'w' },
         {   'id'          : 'source_section_relative_url',
             'description' : 'The titles of the source section of this movement',
             'type'        : 'string',
@@ -229,26 +129,6 @@
             'alt_accessor_id'               : ('_categoryGetSourceSectionRelativeUrl', ),
             'mode'        : 'w' },
         # Destination section reference
-        {   'id'          : 'destination_section_title',
-            'description' : 'The title of the destination section of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_section',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationSectionTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_section_id',
-            'description' : 'The id of the destination section of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_section',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationSectionId', ),
-            'mode'        : 'w' },
         {   'id'          : 'destination_section_relative_url',
             'description' : 'The titles of the destination section of this movement',
             'type'        : 'string',
@@ -260,26 +140,6 @@
             'alt_accessor_id'               : ('_categoryGetDestinationSectionRelativeUrl', ),
             'mode'        : 'w' },
         # Source administration reference
-        {   'id'          : 'source_administration_title',
-            'description' : 'The title of the source administration of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_administration',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceAdministrationTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_administration_id',
-            'description' : 'The id of the source administration of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_administration',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceAdministrationId', ),
-            'mode'        : 'w' },
         {   'id'          : 'source_administration_relative_url',
             'description' : 'The titles of the source administration of this movement',
             'type'        : 'string',
@@ -291,26 +151,6 @@
             'alt_accessor_id'               : ('_categoryGetSourceAdministrationRelativeUrl', ),
             'mode'        : 'w' },
         # Destination administration reference
-        {   'id'          : 'destination_administration_title',
-            'description' : 'The title of the destination administration of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_administration',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationAdministrationTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_administration_id',
-            'description' : 'The id of the destination administration of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_administration',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationAdministrationId', ),
-            'mode'        : 'w' },
         {   'id'          : 'destination_administration_relative_url',
             'description' : 'The titles of the destination administration of this movement',
             'type'        : 'string',
@@ -322,26 +162,6 @@
             'acquisition_depends'           : None,
             'mode'        : 'w' },
         # Source payment reference
-        {   'id'          : 'source_payment_title',
-            'description' : 'The title of the source payment of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_payment',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourcePaymentTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_payment_id',
-            'description' : 'The id of the source payment of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_payment',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourcePaymentId', ),
-            'mode'        : 'w' },
         {   'id'          : 'source_payment_relative_url',
             'description' : 'The titles of the source payment of this movement',
             'type'        : 'string',
@@ -353,26 +173,6 @@
             'alt_accessor_id'               : ('_categoryGetSourcePaymentRelativeUrl', ),
             'mode'        : 'w' },
         # Destination payment reference
-        {   'id'          : 'destination_payment_title',
-            'description' : 'The title of the destination payment of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_payment',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationPaymentTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_payment_id',
-            'description' : 'The id of the destination payment of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_payment',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationPaymentId', ),
-            'mode'        : 'w' },
         {   'id'          : 'destination_payment_relative_url',
             'description' : 'The titles of the destination payment of this movement',
             'type'        : 'string',
@@ -421,26 +221,6 @@
             'acquisition_depends'           : None,
             'mode'        : 'w' },
         # Source trade reference
-        {   'id'          : 'source_trade_title',
-            'description' : 'The title of the source trade of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_trade',),
-            '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_trade_id',
-            'description' : 'The id of the source trade of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_trade',),
-            '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_trade_relative_url',
             'description' : 'The titles of the source trade of this movement',
             'type'        : 'string',
@@ -452,26 +232,6 @@
             'alt_accessor_id'               : ('_categoryGetSourceProjectRelativeUrl', ),
             'mode'        : 'w' },
         # Destination trade reference
-        {   'id'          : 'destination_trade_title',
-            'description' : 'The title of the destination trade of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_trade',),
-            '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_trade_id',
-            'description' : 'The id of the destination trade of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_trade',),
-            '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_trade_relative_url',
             'description' : 'The titles of the destination trade of this movement',
             'type'        : 'string',
@@ -483,248 +243,84 @@
             'alt_accessor_id'               : ('_categoryGetDestinationProjectRelativeUrl', ),
             'mode'        : 'w' },
         # Source project reference
-        {   'id'          : 'source_project_title',
-            'description' : 'The title of the source project of this movement',
+        {   'id'          : 'source_project_relative_url',
+            'description' : 'The titles of the source project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('source_project',),
             'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceProjectTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_project_id',
-            'description' : 'The id of the source project of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceProjectId', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_project_relative_url',
-            'description' : 'The titles of the source project of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetSourceProjectRelativeUrl', ),
             'mode'        : 'w' },
         # Destination project reference
-        {   'id'          : 'destination_project_title',
-            'description' : 'The title of the destination project of this movement',
+        {   'id'          : 'destination_project_relative_url',
+            'description' : 'The titles of the destination project of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('destination_project',),
             'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationProjectTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_project_id',
-            'description' : 'The id of the destination project of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationProjectId', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_project_relative_url',
-            'description' : 'The titles of the destination project of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_project',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalProjectTypeList()'),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetDestinationProjectRelativeUrl', ),
             'mode'        : 'w' },
         # Source function reference
-        {   'id'          : 'source_function_title',
-            'description' : 'The title of the source function of this movement',
+        {   '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'       : ('Category',),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceFunctionTitle', ),
-            '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'       : ('Category',),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceFunctionId', ),
-            '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'       : ('Category',),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetSourceFunctionRelativeUrl', ),
             'mode'        : 'w' },
         # Destination function reference
-        {   'id'          : 'destination_function_title',
-            'description' : 'The title of the destination function of this movement',
+        {   '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'       : ('Category',),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationFunctionTitle', ),
-            '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'       : ('Category',),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationFunctionId', ),
-            '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'       : ('Category',),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetDestinationFunctionRelativeUrl', ),
             'mode'        : 'w' },
         # Source transport reference
-        {   'id'          : 'source_transport_title',
-            'description' : 'The title of the source transport of this movement',
+        {   'id'          : 'source_transport_relative_url',
+            'description' : 'The titles of the source transport of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('source_transport',),
             'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceTransportTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_transport_id',
-            'description' : 'The id of the source transport of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_transport',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceTransportId', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_transport_relative_url',
-            'description' : 'The titles of the source transport of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_transport',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetSourceTransportRelativeUrl', ),
             'mode'        : 'w' },
         # Destination transport reference
-        {   'id'          : 'destination_transport_title',
-            'description' : 'The title of the destination transport of this movement',
+        {   'id'          : 'destination_transport_relative_url',
+            'description' : 'The titles of the destination transport of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('destination_transport',),
             'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationTransportTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_transport_id',
-            'description' : 'The id of the destination transport of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_transport',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationTransportId', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_transport_relative_url',
-            'description' : 'The titles of the destination transport of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_transport',),
-            'acquisition_portal_type'       : Expression('python: portal.getPortalOrderTypeList()'),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetDestinationTransportRelativeUrl', ),
             'mode'        : 'w' },
         # Source advice, use for the consultant who helps taking the decision
-        {   'id'          : 'source_advice_title',
-            'description' : 'The title of the source advice of this movement',
+        {   'id'          : 'source_advice_relative_url',
+            'description' : 'The titles of the source advice of this movement',
             'type'        : 'string',
             'acquisition_base_category'     : ('source_advice',),
             'acquisition_portal_type'       : Expression('python: \
                                                 portal.getPortalNodeTypeList()'),
             'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceAdviceTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_advice_id',
-            'description' : 'The id of the source advice of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_advice',),
-            'acquisition_portal_type'       : Expression('python: \
-                                                portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetSourceAdviceId', ),
-            'mode'        : 'w' },
-        {   'id'          : 'source_advice_relative_url',
-            'description' : 'The titles of the source advice of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('source_advice',),
-            'acquisition_portal_type'       : Expression('python: \
-                                                portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
             'acquisition_accessor_id'       : 'getRelativeUrl',
             'acquisition_depends'           : None,
             'alt_accessor_id'               : ('_categoryGetSourceAdviceRelativeUrl', ),
             'mode'        : 'w' },
         # Destination advice
-        {   'id'          : 'destination_advice_title',
-            'description' : 'The title of the destination advice of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_advice',),
-            'acquisition_portal_type'       : Expression('python: \
-                                                portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getTitle',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationAdviceTitle', ),
-            'mode'        : 'w' },
-        {   'id'          : 'destination_advice_id',
-            'description' : 'The id of the destination advice of this movement',
-            'type'        : 'string',
-            'acquisition_base_category'     : ('destination_advice',),
-            'acquisition_portal_type'       : Expression('python: \
-                                                portal.getPortalNodeTypeList()'),
-            'acquisition_copy_value'        : 0,
-            'acquisition_accessor_id'       : 'getId',
-            'acquisition_depends'           : None,
-            'alt_accessor_id'               : ('_categoryGetDestinationAdviceId', ),
-            'mode'        : 'w' },
         {   'id'          : 'destination_advice_relative_url',
             'description' : 'The titles of the destination advice of this movement',
             'type'        : 'string',
@@ -755,4 +351,3 @@
                     'source_region', 'destination_region',
                     'source_payment_region', 'destination_payment_region',
                     )
-




More information about the Erp5-report mailing list