From df07150de9ee4f010d6593d23d4642f9c512c3bb Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 1 Jan 2007 08:51:41 +0000
Subject: [PATCH] Use appropriate constraint.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11828 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Document.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/PropertySheet/Document.py b/product/ERP5/PropertySheet/Document.py
index 1357efa911..52458f825c 100644
--- a/product/ERP5/PropertySheet/Document.py
+++ b/product/ERP5/PropertySheet/Document.py
@@ -46,9 +46,9 @@ class Document:
 
   _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'},
     )
  
 
-- 
2.30.9