[Erp5-report] r30916 - /erp5/trunk/products/ERP5/PropertySheet/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Nov 30 11:09:59 CET 2009
Author: kazuhiko
Date: Mon Nov 30 11:09:58 2009
New Revision: 30916
URL: http://svn.erp5.org?rev=30916&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/Amount.py
erp5/trunk/products/ERP5/PropertySheet/Delivery.py
erp5/trunk/products/ERP5/PropertySheet/Movement.py
erp5/trunk/products/ERP5/PropertySheet/Path.py
Modified: erp5/trunk/products/ERP5/PropertySheet/Amount.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Amount.py?rev=30916&r1=30915&r2=30916&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Amount.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Amount.py [utf8] Mon Nov 30 11:09:58 2009
@@ -44,18 +44,6 @@
"""
_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',
@@ -66,18 +54,6 @@
'acquisition_sync_value' : 0,
'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',
Modified: erp5/trunk/products/ERP5/PropertySheet/Delivery.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Delivery.py?rev=30916&r1=30915&r2=30916&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Delivery.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Delivery.py [utf8] Mon Nov 30 11:09:58 2009
@@ -35,30 +35,4 @@
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')
-
Modified: erp5/trunk/products/ERP5/PropertySheet/Movement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Movement.py?rev=30916&r1=30915&r2=30916&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Movement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Movement.py [utf8] Mon Nov 30 11:09:58 2009
@@ -44,26 +44,6 @@
# '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',
Modified: erp5/trunk/products/ERP5/PropertySheet/Path.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Path.py?rev=30916&r1=30915&r2=30916&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Path.py [utf8] (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Path.py [utf8] Mon Nov 30 11:09:58 2009
@@ -34,17 +34,6 @@
"""
_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 @@
'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
)
More information about the Erp5-report
mailing list