[Erp5-report] r15680 - /erp5/trunk/products/ERP5/PropertySheet/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 16 02:38:22 CEST 2007


Author: jp
Date: Thu Aug 16 02:38:21 2007
New Revision: 15680

URL: http://svn.erp5.org?rev=15680&view=rev
Log:
Added md5 support and update_frequency category.

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

Modified: erp5/trunk/products/ERP5/PropertySheet/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/Document.py?rev=15680&r1=15679&r2=15680&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Document.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Document.py Thu Aug 16 02:38:21 2007
@@ -43,6 +43,11 @@
       'type'            : 'string',
       'read_permission' : 'Manage properties',
       'mode'            : 'w' },
+    { 'id'              : 'content_md5',
+      'description'     : 'A string which represents the md5 of the file',
+      'type'            : 'string',
+      'read_permission' : 'Manage properties',
+      'mode'            : 'w' },
   )
 
   _categories = ('similar', 'predecessor', 'successor', 'contributor', 'classification',
@@ -50,6 +55,8 @@
                  'source_project',
                  # Source is defined in DMS documentation
                  'source',
+                 # Update frequency in case this document must be crawled regularly
+                 'update_frequency',
                  # XXX-JPS where are these defined in documentation. Why ?
                  'destination',
                  # XXX-JPS all the following properties should be configured on portal type




More information about the Erp5-report mailing list