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

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 1 09:51:42 CET 2007


Author: jp
Date: Mon Jan  1 09:51:41 2007
New Revision: 11828

URL: http://svn.erp5.org?rev=11828&view=rev
Log:
Use appropriate constraint.

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=11828&r1=11827&r2=11828&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/Document.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/Document.py Mon Jan  1 09:51:41 2007
@@ -46,9 +46,9 @@
 
   _constraints = (
       {
-      'id'          :   'unique_coordinates',       # XXX-JPS plural naming - rename to unique_coordinate
-      'description' :   'coordinate triplet must be complete and unique',
-      'type'        :   'DocumentCoordinatesConstraint'}, # XXX-JPS plural - rename to DocumentCoordinateConstraint
+      'id'          :   'unique_reference',
+      'description' :   'The reference, language and version should be unique',
+      'type'        :   'DocumentReferenceConstraint'},
     )
  
 




More information about the Erp5-report mailing list