From 8d0c79ff3c07338931d4f878e555a6ae232d2568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Wed, 30 Mar 2011 12:28:06 +0000 Subject: [PATCH] following of commit r44796 - add a specific Z SQL Method for related key - update related key to use new naming git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44798 20353a03-c40f-0410-a6d1-a30d3c3de9de --- ...nking_related_explanation.catalog_keys.xml | 2 + .../z_erp5_banking_related_explanation.xml | 38 +++++++++++++++++++ .../related_key_list.xml | 2 +- bt5/erp5_banking_core/bt/revision | 2 +- .../bt/template_catalog_method_id_list | 1 + .../bt/template_catalog_related_key_list | 2 +- 6 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.catalog_keys.xml create mode 100644 bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.xml diff --git a/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.catalog_keys.xml b/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.catalog_keys.xml new file mode 100644 index 0000000000..a540f9431e --- /dev/null +++ b/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> diff --git a/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.xml b/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.xml new file mode 100644 index 0000000000..7f2ad6c9a8 --- /dev/null +++ b/bt5/erp5_banking_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_erp5_banking_related_explanation.xml @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\r\n +</string> </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_erp5_banking_related_explanation</string> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.explanation_uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_banking_core/CatalogRelatedKeyTemplateItem/related_key_list.xml b/bt5/erp5_banking_core/CatalogRelatedKeyTemplateItem/related_key_list.xml index f01782f8cd..005227af74 100644 --- a/bt5/erp5_banking_core/CatalogRelatedKeyTemplateItem/related_key_list.xml +++ b/bt5/erp5_banking_core/CatalogRelatedKeyTemplateItem/related_key_list.xml @@ -1,3 +1,3 @@ <key_list> - <key>explanation_portal_type | catalog/portal_type/z_related_explanation</key> + <key>explanation_portal_type | catalog/portal_type/z_erp5_banking_related_explanation</key> </key_list> \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision index 4c38412cc7..551f8ca374 100644 --- a/bt5/erp5_banking_core/bt/revision +++ b/bt5/erp5_banking_core/bt/revision @@ -1 +1 @@ -559 \ No newline at end of file +562 \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_catalog_method_id_list b/bt5/erp5_banking_core/bt/template_catalog_method_id_list index 30c4bf559f..1718f7abbf 100644 --- a/bt5/erp5_banking_core/bt/template_catalog_method_id_list +++ b/bt5/erp5_banking_core/bt/template_catalog_method_id_list @@ -8,5 +8,6 @@ erp5_mysql_innodb/z_create_delivery erp5_mysql_innodb/z_create_item erp5_mysql_innodb/z_create_roles_and_users erp5_mysql_innodb/z_create_stock +erp5_mysql_innodb/z_erp5_banking_related_explanation erp5_mysql_innodb/z_related_default_site erp5_mysql_innodb/z_related_destination_payment \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_catalog_related_key_list b/bt5/erp5_banking_core/bt/template_catalog_related_key_list index ec14a60f38..339dcae324 100644 --- a/bt5/erp5_banking_core/bt/template_catalog_related_key_list +++ b/bt5/erp5_banking_core/bt/template_catalog_related_key_list @@ -1 +1 @@ -explanation_portal_type | catalog/portal_type/z_related_explanation \ No newline at end of file +explanation_portal_type | catalog/portal_type/z_erp5_banking_related_explanation \ No newline at end of file -- 2.30.9