[Erp5-report] r10506 - /erp5/trunk/products/ERP5Type/Accessor/TypeDefinition.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 3 14:03:03 CEST 2006
Author: jp
Date: Tue Oct 3 14:03:00 2006
New Revision: 10506
URL: http://svn.erp5.org?rev=10506&view=rev
Log:
Comments should make the difference between object and content clearer
Modified:
erp5/trunk/products/ERP5Type/Accessor/TypeDefinition.py
Modified: erp5/trunk/products/ERP5Type/Accessor/TypeDefinition.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Accessor/TypeDefinition.py?rev=10506&r1=10505&r2=10506&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Accessor/TypeDefinition.py (original)
+++ erp5/trunk/products/ERP5Type/Accessor/TypeDefinition.py Tue Oct 3 14:03:00 2006
@@ -142,12 +142,15 @@
'default' : [],
'isList' : 1,
},
- 'content' : { 'cast' : identity,
+ # Content are subdocuments (ex. default_career)
+ 'content' : { 'cast' : identity,
'null' : ('', 'None', None,),
'default' : None,
'isList' : 0,
},
- 'object' : { 'cast' : identity,
+ # Object are properties of any type (ex. data)
+ # and are considered as simple properties
+ 'object' : { 'cast' : identity,
'null' : ('', 'None', None,),
'default' : None,
'isList' : 0,
More information about the Erp5-report
mailing list