From 630b35f3880e72bd952a03165ae0d47414c721cd Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Sun, 8 Feb 2004 20:31:18 +0000
Subject: [PATCH] New Category API (display_id, display_none_category, etc.)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@449 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../ProductionOrder_zGetTotalDuration.zsql                    | 2 +-
 .../skins/coramy_manufacturing/production_order_view.form     | 4 ++--
 .../production_packing_list_aggregated_view.form              | 4 ++--
 .../coramy_manufacturing/production_packing_list_view.form    | 4 ++--
 .../production_report_aggregated_view.form                    | 4 ++--
 .../skins/coramy_manufacturing/production_report_view.form    | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/product/Coramy/skins/coramy_manufacturing/ProductionOrder_zGetTotalDuration.zsql b/product/Coramy/skins/coramy_manufacturing/ProductionOrder_zGetTotalDuration.zsql
index 1e6cb41cc9..6b3fef9878 100755
--- a/product/Coramy/skins/coramy_manufacturing/ProductionOrder_zGetTotalDuration.zsql
+++ b/product/Coramy/skins/coramy_manufacturing/ProductionOrder_zGetTotalDuration.zsql
@@ -1,6 +1,6 @@
 <dtml-comment>
 title:
-connection_id:MySQL
+connection_id:erp5_sql_connection
 max_rows:1000
 max_cache:100
 cache_time:0
diff --git a/product/Coramy/skins/coramy_manufacturing/production_order_view.form b/product/Coramy/skins/coramy_manufacturing/production_order_view.form
index 324ea86bd8..8be9baafc8 100755
--- a/product/Coramy/skins/coramy_manufacturing/production_order_view.form
+++ b/product/Coramy/skins/coramy_manufacturing/production_order_view.form
@@ -53,7 +53,7 @@
           <title>Société</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
@@ -207,7 +207,7 @@
           <title>Incoterm</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(display_id = 'getTitle', display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
diff --git a/product/Coramy/skins/coramy_manufacturing/production_packing_list_aggregated_view.form b/product/Coramy/skins/coramy_manufacturing/production_packing_list_aggregated_view.form
index 46b857dc60..d5232e0933 100755
--- a/product/Coramy/skins/coramy_manufacturing/production_packing_list_aggregated_view.form
+++ b/product/Coramy/skins/coramy_manufacturing/production_packing_list_aggregated_view.form
@@ -53,7 +53,7 @@
           <title>Société</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
@@ -108,7 +108,7 @@
           <title>Incoterm</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(display_id = 'getTitle', display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
diff --git a/product/Coramy/skins/coramy_manufacturing/production_packing_list_view.form b/product/Coramy/skins/coramy_manufacturing/production_packing_list_view.form
index 99592ef3f3..c70147b5b4 100755
--- a/product/Coramy/skins/coramy_manufacturing/production_packing_list_view.form
+++ b/product/Coramy/skins/coramy_manufacturing/production_packing_list_view.form
@@ -53,7 +53,7 @@
           <title>Société</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
@@ -108,7 +108,7 @@
           <title>Incoterm</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(display_id = 'getTitle', display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
diff --git a/product/Coramy/skins/coramy_manufacturing/production_report_aggregated_view.form b/product/Coramy/skins/coramy_manufacturing/production_report_aggregated_view.form
index c7d8e84213..efda854b07 100755
--- a/product/Coramy/skins/coramy_manufacturing/production_report_aggregated_view.form
+++ b/product/Coramy/skins/coramy_manufacturing/production_report_aggregated_view.form
@@ -53,7 +53,7 @@
           <title>Société</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
@@ -108,7 +108,7 @@
           <title>Incoterm</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(display_id = 'getTitle', display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
diff --git a/product/Coramy/skins/coramy_manufacturing/production_report_view.form b/product/Coramy/skins/coramy_manufacturing/production_report_view.form
index ff7ec56fbf..f972066797 100755
--- a/product/Coramy/skins/coramy_manufacturing/production_report_view.form
+++ b/product/Coramy/skins/coramy_manufacturing/production_report_view.form
@@ -53,7 +53,7 @@
           <title>Société</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.group.Coramy.getCategoryChildIdItemList(base=1,display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
@@ -108,7 +108,7 @@
           <title>Incoterm</title>
         </values>
         <tales>
-          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(method_name = 'getTitle', start_with_empty_tuple=1)</items>
+          <items>python:here.portal_categories.incoterm.getCategoryChildItemList(display_id = 'getTitle', display_none_category=1)</items>
         </tales>
         <messages>
           <message name="external_validator_failed">The input failed the external validator.</message>
-- 
2.30.9