From 244f8744fdfca17264a8d4383f0b4e6938d79752 Mon Sep 17 00:00:00 2001 From: Ayush Tiwari <ayush.tiwari@nexedi.com> Date: Tue, 12 Dec 2017 17:49:27 +0100 Subject: [PATCH] [erp5_base]: Re-export Catalog Methods --- .../SQLCatalog_makeOwnerTitleSearchQuery.xml | 6 +++++- .../erp5_mysql_innodb/z_related_child_address.xml | 6 +++++- .../erp5_mysql_innodb/z_related_child_telephone.xml | 6 +++++- .../erp5_mysql_innodb/z_related_default_email.xml | 6 +++++- .../erp5_mysql_innodb/z_related_destination_person.xml | 6 +++++- .../z_related_destination_person_full_text.xml | 6 +++++- .../erp5_mysql_innodb/z_related_resource_related_use.xml | 6 +++++- .../erp5_mysql_innodb/z_related_source_organisation.xml | 6 +++++- .../z_related_source_organisation_full_text.xml | 6 +++++- .../erp5_mysql_innodb/z_related_source_person.xml | 6 +++++- .../erp5_mysql_innodb/z_related_source_person_full_text.xml | 6 +++++- 11 files changed, 55 insertions(+), 11 deletions(-) diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeOwnerTitleSearchQuery.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeOwnerTitleSearchQuery.xml index d285ff82cf..4f9bb7d020 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeOwnerTitleSearchQuery.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_makeOwnerTitleSearchQuery.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <global name="Python Script" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -56,6 +56,10 @@ <key> <string>id</string> </key> <value> <string>SQLCatalog_makeOwnerTitleSearchQuery</string> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Python Script</string> </value> + </item> </dictionary> </pickle> </record> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_address.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_address.xml index b453e17978..5349d02493 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_address.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_address.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -21,6 +21,10 @@ RELATED_QUERY_SEPARATOR=" AND "</string> </value> <key> <string>id</string> </key> <value> <string>z_related_child_address</string> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_telephone.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_telephone.xml index dd6b1e7658..1fe25d3656 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_telephone.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_child_telephone.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -21,6 +21,10 @@ RELATED_QUERY_SEPARATOR=" AND "</string> </value> <key> <string>id</string> </key> <value> <string>z_related_child_telephone</string> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml index cdcec22cf3..d07d8055ce 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_default_email.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -21,6 +21,10 @@ RELATED_QUERY_SEPARATOR=" AND "</string> </value> <key> <string>id</string> </key> <value> <string>z_related_default_email</string> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person.xml index e7959b15db..7612161e54 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -51,6 +51,10 @@ table_1</string> </value> <key> <string>max_rows_</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.xml index 9c657074eb..eec9032bca 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_destination_person_full_text.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -52,6 +52,10 @@ table_2</string> </value> <key> <string>max_rows_</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_resource_related_use.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_resource_related_use.xml index e76f46d762..c27e8a9154 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_resource_related_use.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_resource_related_use.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -21,6 +21,10 @@ table_3</string> </value> <key> <string>id</string> </key> <value> <string>z_related_resource_related_use</string> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation.xml index f25731b886..5bd09e2de6 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -51,6 +51,10 @@ table_1</string> </value> <key> <string>max_rows_</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.xml index 761d30d519..fe52e2213a 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_organisation_full_text.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -52,6 +52,10 @@ table_2</string> </value> <key> <string>max_rows_</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person.xml index 5359aad546..eea8cc8407 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -51,6 +51,10 @@ table_1</string> </value> <key> <string>max_rows_</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> diff --git a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.xml b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.xml index 4391728c26..f2777abbc5 100644 --- a/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.xml +++ b/bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_source_person_full_text.xml @@ -2,7 +2,7 @@ <ZopeData> <record id="1" aka="AAAAAAAAAAE="> <pickle> - <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <global name="SQL Method" module="erp5.portal_type"/> </pickle> <pickle> <dictionary> @@ -52,6 +52,10 @@ table_2</string> </value> <key> <string>max_rows_</string> </key> <value> <int>0</int> </value> </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>SQL Method</string> </value> + </item> <item> <key> <string>title</string> </key> <value> <string></string> </value> -- 2.30.9