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

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 15 15:59:53 CET 2007


Author: romain
Date: Thu Feb 15 15:59:48 2007
New Revision: 12727

URL: http://svn.erp5.org?rev=12727&view=rev
Log:
Constraint should be used by default only if it is necessary from a system point of view.

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=12727&r1=12726&r2=12727&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Document.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Document.py Thu Feb 15 15:59:48 2007
@@ -44,12 +44,14 @@
                  # and removed from here
                  'publication_section', 'function', 'group', 'site')
 
-  _constraints = (
-      {
-      'id'          :   'unique_reference',
-      'description' :   'The reference, language and version should be unique',
-      'type'        :   'DocumentReferenceConstraint'},
-    )
+  # XXX Romain: constraint should be used by default only if
+  # it is necessary from a system point of view
+#   _constraints = (
+#       {
+#       'id'          :   'unique_reference',
+#       'description' :   'The reference, language and version should be unique',
+#       'type'        :   'DocumentReferenceConstraint'},
+#     )
  
 
 # vim: shiftwidth=2




More information about the Erp5-report mailing list