From 64af1579511d31c8a82c7875b186fc14d19039e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Thu, 4 Jan 2007 13:41:31 +0000
Subject: [PATCH] Use class file from Products/*/Extensions remove max_row
 limit in Resource_zGetMovementHistoryList (the API does not provide a way to
 count rows for now)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11896 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/Base_zCountByWorkflowState.xml  |  6 +--
 .../Base_zSearchRelatedObjectsByCategory.xml  |  8 ++--
 ...se_zSearchRelatedObjectsByCategoryList.xml |  2 +-
 .../erp5_core/Resource_zGetInventoryList.xml  |  6 +--
 .../Resource_zGetMovementHistoryList.xml      | 42 +++++++++----------
 .../erp5_core/Resource_zGetTrackingList.xml   |  4 +-
 product/ERP5/bootstrap/erp5_core/bt/revision  |  2 +-
 7 files changed, 31 insertions(+), 39 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zCountByWorkflowState.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zCountByWorkflowState.xml
index 073a9cdf5e..34ca5a2334 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zCountByWorkflowState.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zCountByWorkflowState.xml
@@ -131,7 +131,7 @@ state_name=""</string> </value>
         </item>
         <item>
             <key> <string>class_file_</string> </key>
-            <value> <string>zsqlbrain.py</string> </value>
+            <value> <string>ZSQLCatalog.zsqlbrain</string> </value>
         </item>
         <item>
             <key> <string>class_name_</string> </key>
@@ -139,9 +139,7 @@ state_name=""</string> </value>
         </item>
         <item>
             <key> <string>connection_hook</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>connection_id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategory.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategory.xml
index e791c65b5d..c6de540a74 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategory.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategory.xml
@@ -45,7 +45,7 @@
                         <key> <string>_keys</string> </key>
                         <value>
                           <list>
-<string>category_uid</string>
+                            <string>category_uid</string>
                           </list>
                         </value>
                     </item>
@@ -70,7 +70,7 @@
         </item>
         <item>
             <key> <string>class_file_</string> </key>
-            <value> <string>zsqlbrain.py</string> </value>
+            <value> <string>ZSQLCatalog.zsqlbrain</string> </value>
         </item>
         <item>
             <key> <string>class_name_</string> </key>
@@ -78,9 +78,7 @@
         </item>
         <item>
             <key> <string>connection_hook</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>connection_id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategoryList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategoryList.xml
index 82ec434b65..42879670bf 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategoryList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_zSearchRelatedObjectsByCategoryList.xml
@@ -86,7 +86,7 @@ strict_membership</string> </value>
         </item>
         <item>
             <key> <string>class_file_</string> </key>
-            <value> <string>zsqlbrain.py</string> </value>
+            <value> <string>ZSQLCatalog.zsqlbrain</string> </value>
         </item>
         <item>
             <key> <string>class_name_</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml
index 7a4a6e2693..74c69e6f23 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetInventoryList.xml
@@ -197,7 +197,7 @@ output_simulation_state:list</string> </value>
         </item>
         <item>
             <key> <string>class_file_</string> </key>
-            <value> <string>InventoryBrain.py</string> </value>
+            <value> <string>ERP5.InventoryBrain</string> </value>
         </item>
         <item>
             <key> <string>class_name_</string> </key>
@@ -205,9 +205,7 @@ output_simulation_state:list</string> </value>
         </item>
         <item>
             <key> <string>connection_hook</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>connection_id</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
index 65045f18c5..fd0b6fb9e5 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetMovementHistoryList.xml
@@ -156,23 +156,23 @@
                         <key> <string>_keys</string> </key>
                         <value>
                           <list>
-<string>from_table_list</string>
-<string>where_expression</string>
-<string>order_by_expression</string>
-<string>group_by_expression</string>
-<string>selection_domain</string>
-<string>selection_report</string>
-<string>ignore_variation</string>
-<string>standardize</string>
-<string>omit_simulation</string>
-<string>omit_input</string>
-<string>omit_output</string>
-<string>section_filtered</string>
-<string>initial_running_total_quantity</string>
-<string>initial_running_total_price</string>
-<string>input_simulation_state</string>
-<string>output_simulation_state</string>
-<string>precision</string>
+                            <string>from_table_list</string>
+                            <string>where_expression</string>
+                            <string>order_by_expression</string>
+                            <string>group_by_expression</string>
+                            <string>selection_domain</string>
+                            <string>selection_report</string>
+                            <string>ignore_variation</string>
+                            <string>standardize</string>
+                            <string>omit_simulation</string>
+                            <string>omit_input</string>
+                            <string>omit_output</string>
+                            <string>section_filtered</string>
+                            <string>initial_running_total_quantity</string>
+                            <string>initial_running_total_price</string>
+                            <string>input_simulation_state</string>
+                            <string>output_simulation_state</string>
+                            <string>precision</string>
                           </list>
                         </value>
                     </item>
@@ -622,7 +622,7 @@ precision</string> </value>
         </item>
         <item>
             <key> <string>class_file_</string> </key>
-            <value> <string>InventoryBrain.py</string> </value>
+            <value> <string>ERP5.InventoryBrain</string> </value>
         </item>
         <item>
             <key> <string>class_name_</string> </key>
@@ -630,9 +630,7 @@ precision</string> </value>
         </item>
         <item>
             <key> <string>connection_hook</string> </key>
-            <value>
-              <none/>
-            </value>
+            <value> <string></string> </value>
         </item>
         <item>
             <key> <string>connection_id</string> </key>
@@ -648,7 +646,7 @@ precision</string> </value>
         </item>
         <item>
             <key> <string>max_rows_</string> </key>
-            <value> <int>1000</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>src</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetTrackingList.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetTrackingList.xml
index 00429b004e..c75adb2aa7 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetTrackingList.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Resource_zGetTrackingList.xml
@@ -361,7 +361,7 @@ simulation_state_list:list</string> </value>
         </item>
         <item>
             <key> <string>class_file_</string> </key>
-            <value> <string>InventoryBrain.py</string> </value>
+            <value> <string>ERP5.InventoryBrain</string> </value>
         </item>
         <item>
             <key> <string>class_name_</string> </key>
@@ -385,7 +385,7 @@ simulation_state_list:list</string> </value>
         </item>
         <item>
             <key> <string>max_rows_</string> </key>
-            <value> <int>1000</int> </value>
+            <value> <int>0</int> </value>
         </item>
         <item>
             <key> <string>src</string> </key>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index bcad85486c..0e4c1b3f90 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-225
\ No newline at end of file
+226
\ No newline at end of file
-- 
2.30.9