From 6f150041fad86e6452272664496206264151c829 Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Tue, 7 Dec 2010 06:50:37 +0000
Subject: [PATCH] 2010-12-07 arnaud.fontaine * Modify
 dynamic_class_generation_interaction_workflow to reset the dynamic modules
 when calling setTypePropertySheetList(). * Fix description of Constraints
 portal types for ZODB Property Sheets.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41184 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Accounting%20Transaction%20Balance%20Constraint.xml       | 2 +-
 .../Category%20Acquired%20Membership%20Arity%20Constraint.xml | 4 +---
 .../Category%20Membership%20Arity%20Constraint.xml            | 4 +---
 .../Category%20Related%20Membership%20Arity%20Constraint.xml  | 4 +---
 .../portal_types/Property%20Type%20Validity%20Constraint.xml  | 2 +-
 .../Resource%20Measures%20Consistency%20Constraint.xml        | 2 +-
 .../portal_types/TALES%20Constraint.xml                       | 4 +---
 ...Trade%20Model%20Line%20Cell%20Consistency%20Constraint.xml | 2 +-
 ...nsaction%20Quantity%20Value%20Feasability%20Constraint.xml | 2 +-
 ...Transaction%20Quantity%20Value%20Validity%20Constraint.xml | 2 +-
 .../interactions/BaseType_resetDynamicClasses.xml             | 2 +-
 product/ERP5/bootstrap/erp5_core/bt/change_log                | 4 ++++
 product/ERP5/bootstrap/erp5_core/bt/revision                  | 2 +-
 13 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Balance%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Balance%20Constraint.xml
index 2cad7ba087..b5338aeb0f 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Balance%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Accounting%20Transaction%20Balance%20Constraint.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>An Attribute Equality Constraint checks whether the attribute value is valid</string> </value>
+            <value> <string>An Accounting Transaction Balance Constraint checks whether accounting transaction total debit and total credit are equal</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Acquired%20Membership%20Arity%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Acquired%20Membership%20Arity%20Constraint.xml
index 6211cdd9f8..edf540dee7 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Acquired%20Membership%20Arity%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Acquired%20Membership%20Arity%20Constraint.xml
@@ -33,9 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string>A Category Acquired Membership Arity Constraint checks whether an object respects the arity with Acquisition</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Membership%20Arity%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Membership%20Arity%20Constraint.xml
index d3c2668143..e9782820a4 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Membership%20Arity%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Membership%20Arity%20Constraint.xml
@@ -33,9 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string>A Category Membership Arity Constraint checks whether an object respects the arity</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Related%20Membership%20Arity%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Related%20Membership%20Arity%20Constraint.xml
index 13d8277289..72c22faeb4 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Related%20Membership%20Arity%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Category%20Related%20Membership%20Arity%20Constraint.xml
@@ -33,9 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string>A Category Related Membership Arity Constraint checks whether an object respects the arity from a category reverse membership point of view</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Property%20Type%20Validity%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Property%20Type%20Validity%20Constraint.xml
index 8a6defbd9b..8a8aba73fd 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Property%20Type%20Validity%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Property%20Type%20Validity%20Constraint.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>A Property Existence Constraint checks whether an object has the given properties</string> </value>
+            <value> <string>A Property Type Validity Constraint allow to check and fix type of each attributes defined in the PropertySheets</string> </value>
         </item>
         <item>
             <key> <string>factory</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Resource%20Measures%20Consistency%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Resource%20Measures%20Consistency%20Constraint.xml
index 950763d9e9..8dd623a594 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Resource%20Measures%20Consistency%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Resource%20Measures%20Consistency%20Constraint.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>An Attribute Equality Constraint checks whether the attribute value is valid</string> </value>
+            <value> <string>A Resource Measures Consistency Constraint checks whether measures defined on a resource are not meaningless</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/TALES%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/TALES%20Constraint.xml
index 91575daadf..9ec8c03ce4 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/TALES%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/TALES%20Constraint.xml
@@ -33,9 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string>A TALES Constraint checks whether the expression is not evaluated as false</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trade%20Model%20Line%20Cell%20Consistency%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trade%20Model%20Line%20Cell%20Consistency%20Constraint.xml
index 89c046e325..c99e771051 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trade%20Model%20Line%20Cell%20Consistency%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Trade%20Model%20Line%20Cell%20Consistency%20Constraint.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>An Attribute Equality Constraint checks whether the attribute value is valid</string> </value>
+            <value> <string>A Trade Model Line Cell Consistency Constraint checks whether Trade Model Line should contain cells</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Feasability%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Feasability%20Constraint.xml
index 33c3a160e6..d7ea864acb 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Feasability%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Feasability%20Constraint.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>An Attribute Equality Constraint checks whether the attribute value is valid</string> </value>
+            <value> <string>A Transaction Quantity Value Feasability Constraint checks whether the quantity of the transaction is possible for the source and the destination</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Validity%20Constraint.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Validity%20Constraint.xml
index d4ef02ca23..aeced52a71 100644
--- a/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Validity%20Constraint.xml
+++ b/product/ERP5/bootstrap/erp5_core/PortalTypeTemplateItem/portal_types/Transaction%20Quantity%20Value%20Validity%20Constraint.xml
@@ -33,7 +33,7 @@
         </item>
         <item>
             <key> <string>description</string> </key>
-            <value> <string>An Attribute Equality Constraint checks whether the attribute value is valid</string> </value>
+            <value> <string>A Transaction Quantity Value Validity Constraint checks whether the quantity of the transaction is greater than the balance of the source</string> </value>
         </item>
         <item>
             <key> <string>id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/dynamic_class_generation_interaction_workflow/interactions/BaseType_resetDynamicClasses.xml b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/dynamic_class_generation_interaction_workflow/interactions/BaseType_resetDynamicClasses.xml
index 9d8b64be48..89995c250c 100644
--- a/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/dynamic_class_generation_interaction_workflow/interactions/BaseType_resetDynamicClasses.xml
+++ b/product/ERP5/bootstrap/erp5_core/WorkflowTemplateItem/portal_workflow/dynamic_class_generation_interaction_workflow/interactions/BaseType_resetDynamicClasses.xml
@@ -59,7 +59,7 @@
                 <string>_setTypeClass.*</string>
                 <string>_setTypeMixin.*</string>
                 <string>_setTypeInterface.*</string>
-                <string>_setTypeZodbPropertySheet.*</string>
+                <string>_setTypePropertySheet.*</string>
               </list>
             </value>
         </item>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log
index ffff11b1b5..03d8b00c36 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/change_log
+++ b/product/ERP5/bootstrap/erp5_core/bt/change_log
@@ -1,3 +1,7 @@
+2010-12-07 arnaud.fontaine
+* Modify dynamic_class_generation_interaction_workflow to reset the dynamic modules when calling setTypePropertySheetList().
+* Fix description of Constraints portal types for ZODB Property Sheets.
+
 2010-12-06 nicolas.dumazet
 * rename Synchronisation Tool to Synchronization Tool for consistency
 * fix type classes on tool portal types
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index 05ccf44fee..b293ca1128 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-40826
\ No newline at end of file
+40830
\ No newline at end of file
-- 
2.30.9