diff --git a/product/ERP5/PropertySheet/Amount.py b/product/ERP5/PropertySheet/Amount.py index 9a8d149bf3dadd9b5c6221850639c6dafb6f58d6..b4dda76c98e7a5def236a6860844c6916ed8d7cf 100644 --- a/product/ERP5/PropertySheet/Amount.py +++ b/product/ERP5/PropertySheet/Amount.py @@ -44,18 +44,6 @@ class Amount: """ _properties = ( - { 'id' : 'resource_id', - 'description' : "The resource id involved", - 'type' : 'string', - 'acquisition_base_category' : ('resource',), - 'acquisition_portal_type' : Expression('python: portal.getPortalResourceTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_mask_value' : 0, - 'acquisition_sync_value' : 0, - 'acquisition_accessor_id' : 'getId', - 'acquisition_depends' : None, - 'alt_accessor_id' : ('_categoryGetResourceId', ), - 'mode' : 'w' }, { 'id' : 'resource_relative_url', 'description' : "The resource relative url involved", 'type' : 'string', @@ -67,18 +55,6 @@ class Amount: 'acquisition_accessor_id' : 'getRelativeUrl', 'acquisition_depends' : None, 'mode' : 'w' }, - { 'id' : 'resource_title', - 'description' : "The resource title involved", - 'type' : 'string', - 'acquisition_base_category' : ('resource',), - 'acquisition_portal_type' : Expression('python: portal.getPortalResourceTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_mask_value' : 0, - 'acquisition_sync_value' : 0, - 'acquisition_accessor_id' : 'getTitle', - 'acquisition_depends' : None, - 'alt_accessor_id' : ('_categoryGetResourceTitle', ), - 'mode' : 'w' }, # Accounting { 'id' : 'quantity', 'description' : """The quantity of resource.""", diff --git a/product/ERP5/PropertySheet/Delivery.py b/product/ERP5/PropertySheet/Delivery.py index 2b39ca6158944bafe0349e55d5e8bf3d77627e84..990ce1b5c4d00bb849729bc5c4e823188fe21fe0 100644 --- a/product/ERP5/PropertySheet/Delivery.py +++ b/product/ERP5/PropertySheet/Delivery.py @@ -35,30 +35,4 @@ class Delivery: Delivery objects usually have a causality. """ - _properties = ( - { 'id' : 'causality_id', - 'description' : 'ids of the documents which are in causality relation with delivery', - 'type' : 'lines', - 'override' : 1, - 'acquisition_base_category' : ('causality',), - 'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList() + portal.getPortalDeliveryTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_mask_value' : 0, - 'acquisition_accessor_id' : 'getId', - 'acquisition_depends' : None, - 'mode' : 'w' }, - { 'id' : 'causality_title', - 'description' : 'titles of the documents which are in causality relation with delivery', - 'type' : 'lines', - 'override' : 1, - 'acquisition_base_category' : ('causality',), - 'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList() + portal.getPortalDeliveryTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_mask_value' : 0, - 'acquisition_accessor_id' : 'getTitle', - 'acquisition_depends' : None, - 'mode' : 'w' }, - ) - _categories = ( 'causality', 'incoterm', 'delivery_mode') - diff --git a/product/ERP5/PropertySheet/Movement.py b/product/ERP5/PropertySheet/Movement.py index 080de31193bf842bbb246de4498c79b90d5e9d52..624bbe19fa714ea62613cf208e539850e1e79c6b 100644 --- a/product/ERP5/PropertySheet/Movement.py +++ b/product/ERP5/PropertySheet/Movement.py @@ -44,26 +44,6 @@ class Movement: # 'default' : 0, # 'mode' : 'w' }, # Order reference - { 'id' : 'order_title', - 'description' : 'The title of the order which defines contractual conditions', - 'type' : 'string', - 'acquisition_base_category' : ('order',), - 'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_accessor_id' : 'getTitle', - 'acquisition_depends' : None, - 'alt_accessor_id' : ('_categoryGetOrderTitle', ), - 'mode' : 'w' }, - { 'id' : 'order_id', - 'description' : 'The id of the order which defines contractual conditions', - 'type' : 'string', - 'acquisition_base_category' : ('order',), - 'acquisition_portal_type' : Expression('python: portal.getPortalOrderTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_accessor_id' : 'getId', - 'acquisition_depends' : None, - 'alt_accessor_id' : ('_categoryGetOrderId', ), - 'mode' : 'w' }, { 'id' : 'order_relative_url', 'description' : 'The relative_url of the order which defines contractual conditions', 'type' : 'string', diff --git a/product/ERP5/PropertySheet/Path.py b/product/ERP5/PropertySheet/Path.py index 8690fb9b45b0f868e4ab226b168ec86b3e32b0a5..7f173e257bbbe9cc5b7607674e9dae802ace29bc 100644 --- a/product/ERP5/PropertySheet/Path.py +++ b/product/ERP5/PropertySheet/Path.py @@ -34,17 +34,6 @@ class Path: """ _properties = ( - { 'id' : 'resource_id', - 'description' : "The resource id involved", - 'type' : 'string', - 'acquisition_base_category' : ('resource',), - 'acquisition_portal_type' : Expression('python: portal.getPortalResourceTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_mask_value' : 0, - 'acquisition_sync_value' : 0, - 'acquisition_accessor_id' : 'getId', - 'acquisition_depends' : None, - 'mode' : 'w' }, { 'id' : 'resource_relative_url', 'description' : "The resource relative url involved", 'type' : 'string', @@ -56,17 +45,6 @@ class Path: 'acquisition_accessor_id' : 'getRelativeUrl', 'acquisition_depends' : None, 'mode' : 'w' }, - { 'id' : 'resource_title', - 'description' : "The resource title involved", - 'type' : 'string', - 'acquisition_base_category' : ('resource',), - 'acquisition_portal_type' : Expression('python: portal.getPortalResourceTypeList()'), - 'acquisition_copy_value' : 0, - 'acquisition_mask_value' : 0, - 'acquisition_sync_value' : 0, - 'acquisition_accessor_id' : 'getTitle', - 'acquisition_depends' : None, - 'mode' : 'w' }, # Accounting )