diff --git a/product/ERP5/bootstrap/erp5_core/CatalogKeywordKeyTemplateItem/keyword_key_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogKeywordKeyTemplateItem/keyword_key_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..a1e26289869f60d5e6b47e6ca66f61e907d6fcaa --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogKeywordKeyTemplateItem/keyword_key_list.xml @@ -0,0 +1,6 @@ +<key_list> + <key>catalog.description</key> + <key>catalog.title</key> + <key>description</key> + <key>title</key> +</key_list> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_catalog.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_catalog.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_catalog.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_catalog.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_catalog.xml new file mode 100755 index 0000000000000000000000000000000000000000..016c1b878a833d2cca169264802771d1c843d09a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_catalog.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_catalog</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE catalog</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE catalog</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_category.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_category.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_category.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_category.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_category.xml new file mode 100755 index 0000000000000000000000000000000000000000..a380db848e86a14cb6e780154da47cd9f0785dd7 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_category.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_category</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE category</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE category</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_compatibility.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_compatibility.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_compatibility.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_compatibility.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_compatibility.xml new file mode 100755 index 0000000000000000000000000000000000000000..ed56c80844265b3ed4402609395433168c06409b --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_compatibility.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_compatibility</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE compatibility</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE compatibility</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_delivery.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_delivery.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_delivery.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_delivery.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_delivery.xml new file mode 100755 index 0000000000000000000000000000000000000000..4c7ee20979f68530ff9c6d74bb51d871f360909a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_delivery.xml @@ -0,0 +1,144 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_delivery</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE delivery\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE delivery\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_item.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_item.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_item.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_item.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_item.xml new file mode 100755 index 0000000000000000000000000000000000000000..831e539b2883785391fe2cbff7f994ac4b42fb3d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_item.xml @@ -0,0 +1,144 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_item</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE item\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE item\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_movement.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_movement.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_movement.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_movement.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_movement.xml new file mode 100755 index 0000000000000000000000000000000000000000..8b002e0245e347f9ef300fa9839c5d733c35117b --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_movement.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_movement</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE movement</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE movement</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate.xml new file mode 100755 index 0000000000000000000000000000000000000000..bf1752d567f9cc3dfc6b7b857ef0d4e0a56ba60a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate.xml @@ -0,0 +1,144 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_predicate</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE predicate\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE predicate\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate_category.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate_category.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate_category.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate_category.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate_category.xml new file mode 100755 index 0000000000000000000000000000000000000000..8026c83bbb4dd09b18af5d8a4fb5363dfca28358 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_predicate_category.xml @@ -0,0 +1,144 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_predicate_category</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE predicate_category\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE predicate_category\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_record.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_record.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_record.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_record.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_record.xml new file mode 100755 index 0000000000000000000000000000000000000000..e79cb91d68e6bd882601132245d190621e8bb558 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_record.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_record</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE record</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE record</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_roles_and_users.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_roles_and_users.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_roles_and_users.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_roles_and_users.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_roles_and_users.xml new file mode 100755 index 0000000000000000000000000000000000000000..be3efdb41a0bc66274a4b201cb4a58841dbabe42 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_roles_and_users.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_roles_and_users</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE roles_and_users</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE roles_and_users</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..6f88c05dc93a67cb3472faa4e6768de4032e983a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_stock.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE stock</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE stock</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_subject.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_subject.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_subject.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_subject.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_subject.xml new file mode 100755 index 0000000000000000000000000000000000000000..a0b573dea01c5020b68391f6afc5846e1041d376 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_subject.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_subject</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE subject</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE subject</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_translation.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_translation.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_translation.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_translation.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_translation.xml new file mode 100755 index 0000000000000000000000000000000000000000..ec186f059601707a184ee3e2d838dfefda0527f1 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_drop_translation.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_drop_translation</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE translation</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE translation</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_category.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_category.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_category.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_category.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_category.xml new file mode 100755 index 0000000000000000000000000000000000000000..21747cac5e795a42f87dda8b0c09164c27abada5 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_category.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_category</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM category WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM category WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_compatibility.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_compatibility.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_compatibility.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_compatibility.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_compatibility.xml new file mode 100755 index 0000000000000000000000000000000000000000..9b56cbaf521d42bc04094faa958d99127a4d6443 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_compatibility.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_compatibility</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM compatibility WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM compatibility WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_item.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_item.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_item.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_item.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_item.xml new file mode 100755 index 0000000000000000000000000000000000000000..f34aa99c53da66a814938c5ec59aaf5a2bffe75f --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_item.xml @@ -0,0 +1,161 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_item</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM item WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM item WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_movement.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_movement.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_movement.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_movement.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_movement.xml new file mode 100755 index 0000000000000000000000000000000000000000..b9216bbad50a84f08ceafc6a12d1d27ce0d1b24b --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_movement.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_movement</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM movement WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM movement WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate.xml new file mode 100755 index 0000000000000000000000000000000000000000..c4188bc1141ae4348efe02fada646009c703b99e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate.xml @@ -0,0 +1,161 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_predicate</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM predicate WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM predicate WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate_category.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate_category.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate_category.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate_category.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate_category.xml new file mode 100755 index 0000000000000000000000000000000000000000..36473276aa04f3403eec22258ebff8bdb8dd4355 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_predicate_category.xml @@ -0,0 +1,161 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_predicate_category</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM predicate_category WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM predicate_category WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..740b9d6d96b2bfe36751865e07f8beaffdff4f08 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_stock.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM stock WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM stock WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_subject.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_subject.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_subject.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_subject.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_subject.xml new file mode 100755 index 0000000000000000000000000000000000000000..048922b8e1b9fa60017fc3fd90f8e47f61fd4f81 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z0_uncatalog_subject.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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>z0_uncatalog_subject</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM subject WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM subject WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_compatibility_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_compatibility_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_compatibility_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_compatibility_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_compatibility_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..6691556d1ac58afa3042d8f260ad3ec51090a6fa --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_compatibility_list.xml @@ -0,0 +1,364 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>CreationDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>Creator</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>Date</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>EffectiveDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>ExpiresDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>ModificationDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>PrincipiaSearchSource</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>SearchableText</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>Type</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>bobobase_modification_time</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>created</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>effective</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>expires</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getIcon</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>in_reply_to</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>modified</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>review_state</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>summary</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>Creator</string> +<string>Date</string> +<string>PrincipiaSearchSource</string> +<string>SearchableText</string> +<string>CreationDate</string> +<string>EffectiveDate</string> +<string>ExpiresDate</string> +<string>ModificationDate</string> +<string>Type</string> +<string>bobobase_modification_time</string> +<string>created</string> +<string>effective</string> +<string>expires</string> +<string>getIcon</string> +<string>in_reply_to</string> +<string>modified</string> +<string>review_state</string> +<string>summary</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +Creator\r\n +Date\r\n +PrincipiaSearchSource\r\n +SearchableText\r\n +CreationDate\r\n +EffectiveDate\r\n +ExpiresDate\r\n +ModificationDate\r\n +Type\r\n +bobobase_modification_time\r\n +created\r\n +effective\r\n +expires\r\n +getIcon\r\n +in_reply_to\r\n +modified\r\n +review_state\r\n +summary\r\n +</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_compatibility_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + compatibility\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="Creator[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="Date[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="PrincipiaSearchSource[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="SearchableText[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="CreationDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="EffectiveDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="ExpiresDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="ModificationDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="Type[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="bobobase_modification_time[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="created[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="effective[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="expires[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getIcon[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="in_reply_to[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="modified[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="review_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="summary[loop_item]" type="string" optional>\n +)\n +<dtml-if sequence-end>\n +<dtml-else>\n +,\n +</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + compatibility\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="Creator[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="Date[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="PrincipiaSearchSource[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="SearchableText[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="CreationDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="EffectiveDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="ExpiresDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="ModificationDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="Type[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="bobobase_modification_time[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="created[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="effective[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="expires[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getIcon[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="in_reply_to[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="modified[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="review_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="summary[loop_item]" type="string" optional>\n +)\n +<dtml-if sequence-end>\n +<dtml-else>\n +,\n +</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_delivery_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_delivery_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..652c789b422ca6b5d09dd5f286c5293db9fe22fe --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_delivery_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isDelivery</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_delivery_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_delivery_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..8d6df9205a2d7ffad0a7030e8a38e1c215f07031 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_delivery_list.xml @@ -0,0 +1,313 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getDestinationSectionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getResourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceSectionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStartDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStartDateRangeMax</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStartDateRangeMin</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStopDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStopDateRangeMax</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStopDateRangeMin</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isDelivery</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>isDelivery</string> +<string>uid</string> +<string>getSourceUid</string> +<string>getDestinationUid</string> +<string>getSourceSectionUid</string> +<string>getDestinationSectionUid</string> +<string>getResourceUid</string> +<string>getStartDate</string> +<string>getStartDateRangeMin</string> +<string>getStartDateRangeMax</string> +<string>getStopDate</string> +<string>getStopDateRangeMin</string> +<string>getStopDateRangeMax</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>isDelivery\r\n +uid\r\n +getSourceUid\r\n +getDestinationUid\r\n +getSourceSectionUid\r\n +getDestinationSectionUid\r\n +getResourceUid\r\n +getStartDate\r\n +getStartDateRangeMin\r\n +getStartDateRangeMax\r\n +getStopDate\r\n +getStopDateRangeMin\r\n +getStopDateRangeMax</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_delivery_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let delivery_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isDelivery[loop_item]">\n + <dtml-call expr="delivery_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(delivery_list) > 0">\n +REPLACE INTO\n + delivery\n +VALUES\n + <dtml-in prefix="loop" expr="delivery_list">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getSourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getSourceSectionUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationSectionUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getResourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStartDateRangeMin[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStartDateRangeMax[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDateRangeMin[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDateRangeMax[loop_item]" type="datetime" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let delivery_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isDelivery[loop_item]">\n + <dtml-call expr="delivery_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(delivery_list) > 0">\n +REPLACE INTO\n + delivery\n +VALUES\n + <dtml-in prefix="loop" expr="delivery_list">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getSourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getSourceSectionUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationSectionUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getResourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStartDateRangeMin[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStartDateRangeMax[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDateRangeMin[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDateRangeMax[loop_item]" type="datetime" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_item_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_item_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..07f50de92df3f948fbcfa156f358640ff1fe8e2c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_item_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isMovement</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_item_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_item_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..308a0b667dc3fa0b61db4f5aae2b168aefa2652a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_item_list.xml @@ -0,0 +1,299 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getAggregateUidList</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationSectionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getResourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStopDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getVariationText</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isAccountable</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isMovement</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>isMovement</string> +<string>isAccountable</string> +<string>uid</string> +<string>getStopDate</string> +<string>getDestinationUid</string> +<string>getDestinationSectionUid</string> +<string>getResourceUid</string> +<string>getVariationText</string> +<string>getAggregateUidList</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>isMovement\n +isAccountable\n +uid\n +getStopDate\n +getDestinationUid\n +getDestinationSectionUid\n +getResourceUid\n +getVariationText\n +getAggregateUidList</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_item_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + item\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +<dtml-let movement_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isMovement[loop_item] and isAccountable[loop_item] and getAggregateUidList[loop_item]">\n + <dtml-call expr="movement_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(movement_list) > 0">\n +INSERT INTO\n + item\n +VALUES\n + <dtml-in prefix="loop" expr="movement_list">\n + <dtml-in "getAggregateUidList[loop_item]">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getDestinationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationSectionUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getResourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar sequence-item type="int" optional>,\n + <dtml-sqlvar expr="getVariationText[loop_item]" type="string" optional>\n +)\n + <dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + <dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + item\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +<dtml-let movement_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isMovement[loop_item] and isAccountable[loop_item] and getAggregateUidList[loop_item]">\n + <dtml-call expr="movement_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(movement_list) > 0">\n +INSERT INTO\n + item\n +VALUES\n + <dtml-in prefix="loop" expr="movement_list">\n + <dtml-in "getAggregateUidList[loop_item]">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getDestinationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationSectionUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getResourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar sequence-item type="int" optional>,\n + <dtml-sqlvar expr="getVariationText[loop_item]" type="string" optional>\n +)\n + <dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + <dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n +\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_category_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_category_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..07f50de92df3f948fbcfa156f358640ff1fe8e2c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_category_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isMovement</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_category_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_category_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..b625398307aa2fc60eec781dbacb8dcf796a9fc4 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_category_list.xml @@ -0,0 +1,261 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getCategoryList</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isMovement</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>isMovement</string> +<string>getCategoryList</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +isMovement\r\n +getCategoryList</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_movement_category_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + category\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +INSERT INTO category VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-if expr="getCategoryList[loop_item]">\n + <dtml-let uid_list="portal_categories.getCategoryParentUidList(getCategoryList[loop_item])">\n + <dtml-if uid_list>\n + <dtml-in prefix="uid" expr="uid_list">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="uid_item[0]" type="int">,\n + <dtml-sqlvar expr="uid_item[1]" type="int">,\n + <dtml-sqlvar expr="uid_item[2]" type="int">\n +)\n + </dtml-in> \n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n + </dtml-let>\n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n +</dtml-in> \n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + category\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +INSERT INTO category VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-if expr="getCategoryList[loop_item]">\n + <dtml-let uid_list="portal_categories.getCategoryParentUidList(getCategoryList[loop_item])">\n + <dtml-if uid_list>\n + <dtml-in prefix="uid" expr="uid_list">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="uid_item[0]" type="int">,\n + <dtml-sqlvar expr="uid_item[1]" type="int">,\n + <dtml-sqlvar expr="uid_item[2]" type="int">\n +)\n + </dtml-in> \n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n + </dtml-let>\n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n +</dtml-in> \n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..07f50de92df3f948fbcfa156f358640ff1fe8e2c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isMovement</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..6ad64e7a494b8b243365056a73b3f2a95a668a9f --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_movement_list.xml @@ -0,0 +1,333 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getDestinationUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getExplanationUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getInventoriatedQuantity</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getPrice</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getResourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStartDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStopDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getVariationText</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isAccountable</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isDeliverable</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isDivergent</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isMovement</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isOrderable</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>isMovement</string> +<string>uid</string> +<string>getExplanationUid</string> +<string>getSourceUid</string> +<string>getDestinationUid</string> +<string>getResourceUid</string> +<string>getInventoriatedQuantity</string> +<string>getStartDate</string> +<string>getStopDate</string> +<string>getPrice</string> +<string>isAccountable</string> +<string>isOrderable</string> +<string>isDeliverable</string> +<string>isDivergent</string> +<string>getVariationText</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>isMovement\r\n +uid\r\n +getExplanationUid\r\n +getSourceUid\r\n +getDestinationUid\r\n +getResourceUid\r\n +getInventoriatedQuantity\r\n +getStartDate\r\n +getStopDate\r\n +getPrice\r\n +isAccountable\r\n +isOrderable\r\n +isDeliverable\r\n +isDivergent\r\n +getVariationText</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_movement_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let movement_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isMovement[loop_item]">\n + <dtml-call expr="movement_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(movement_list) > 0">\n +REPLACE INTO\n + movement\n +VALUES\n + <dtml-in prefix="loop" expr="movement_list">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getExplanationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getSourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getResourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getInventoriatedQuantity[loop_item]" type="float" optional>,\n + <dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getPrice[loop_item]" type="float" optional>,\n + <dtml-sqlvar expr="isAccountable[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="isOrderable[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="isDeliverable[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="isDivergent[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getVariationText[loop_item]" type="string" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let movement_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isMovement[loop_item]">\n + <dtml-call expr="movement_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(movement_list) > 0">\n +REPLACE INTO\n + movement\n +VALUES\n + <dtml-in prefix="loop" expr="movement_list">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getExplanationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getSourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getDestinationUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getResourceUid[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getInventoriatedQuantity[loop_item]" type="float" optional>,\n + <dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getStopDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getPrice[loop_item]" type="float" optional>,\n + <dtml-sqlvar expr="isAccountable[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="isOrderable[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="isDeliverable[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="isDivergent[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getVariationText[loop_item]" type="string" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_non_movement_category_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_non_movement_category_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5d91b7e9b971ffe1e79d6030cb87422dc1512787 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_non_movement_category_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: not isMovement</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_non_movement_category_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_non_movement_category_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..d86b7a57f96c5ca3a97bf1a038fb9e3e77c11866 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_non_movement_category_list.xml @@ -0,0 +1,253 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getAcquiredCategoryList</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>getAcquiredCategoryList</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +getAcquiredCategoryList</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_non_movement_category_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + category\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +INSERT INTO category VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-if expr="getAcquiredCategoryList[loop_item]">\n + <dtml-let uid_list="portal_categories.getCategoryParentUidList(getAcquiredCategoryList[loop_item])">\n + <dtml-if uid_list>\n + <dtml-in prefix="uid" expr="uid_list">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="uid_item[0]" type="int">,\n + <dtml-sqlvar expr="uid_item[1]" type="int">,\n + <dtml-sqlvar expr="uid_item[2]" type="int">\n +)\n + </dtml-in> \n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n + </dtml-let>\n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n +</dtml-in> \n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + category\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +INSERT INTO category VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-if expr="getAcquiredCategoryList[loop_item]">\n + <dtml-let uid_list="portal_categories.getCategoryParentUidList(getAcquiredCategoryList[loop_item])">\n + <dtml-if uid_list>\n + <dtml-in prefix="uid" expr="uid_list">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="uid_item[0]" type="int">,\n + <dtml-sqlvar expr="uid_item[1]" type="int">,\n + <dtml-sqlvar expr="uid_item[2]" type="int">\n +)\n + </dtml-in> \n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n + </dtml-let>\n + <dtml-else>\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + NULL,\n + NULL,\n + 1\n +)\n + </dtml-if>\n +</dtml-in> \n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_object_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_object_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..906d8b639bc5ea904b820846fa3bb0d94f080809 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_object_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_object_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_object_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..7c1b992846ccd9e5ca300debf507ad8c90bd29e2 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_object_list.xml @@ -0,0 +1,467 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>causality_state</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>event_state</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getCorporateRegistrationCode</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getCreationDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDescription</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationReference</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getEan13Code</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getFloatIndex</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getGroupingReference</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getImmobilisationState</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getIntIndex</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getModificationDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getParentUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getPath</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getPortalType</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getReference</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getRelativeUrl</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSimulationState</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceReference</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStringIndex</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getTitle</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>hasCellContent</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>invoice_state</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>meta_type</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>opportunity_state</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>payment_state</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>security_uid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>validation_state</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>security_uid</string> +<string>getPath</string> +<string>getRelativeUrl</string> +<string>getParentUid</string> +<string>id</string> +<string>getDescription</string> +<string>getTitle</string> +<string>meta_type</string> +<string>getPortalType</string> +<string>opportunity_state</string> +<string>getCorporateRegistrationCode</string> +<string>getEan13Code</string> +<string>getSimulationState</string> +<string>causality_state</string> +<string>invoice_state</string> +<string>validation_state</string> +<string>payment_state</string> +<string>event_state</string> +<string>getImmobilisationState</string> +<string>getReference</string> +<string>getGroupingReference</string> +<string>getSourceReference</string> +<string>getDestinationReference</string> +<string>getStringIndex</string> +<string>getIntIndex</string> +<string>getFloatIndex</string> +<string>hasCellContent</string> +<string>getCreationDate</string> +<string>getModificationDate</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +security_uid\r\n +getPath\r\n +getRelativeUrl\r\n +getParentUid\r\n +id\r\n +getDescription\r\n +getTitle\r\n +meta_type\r\n +getPortalType\r\n +opportunity_state\r\n +getCorporateRegistrationCode\r\n +getEan13Code\r\n +getSimulationState\r\n +causality_state\r\n +invoice_state\r\n +validation_state\r\n +payment_state\r\n +event_state\r\n +getImmobilisationState\r\n +getReference\r\n +getGroupingReference\r\n +getSourceReference\r\n +getDestinationReference\r\n +getStringIndex\r\n +getIntIndex\r\n +getFloatIndex\r\n +hasCellContent\n +getCreationDate\n +getModificationDate</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_object_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + catalog\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="security_uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getPath[loop_item]" type="string">,\n + <dtml-sqlvar expr="getRelativeUrl[loop_item]" type="string">,\n + <dtml-sqlvar expr="getParentUid[loop_item]" type="int">,\n + <dtml-sqlvar expr="id[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getDescription[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getTitle[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="meta_type[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getPortalType[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="opportunity_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getCorporateRegistrationCode[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getEan13Code[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="validation_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getSimulationState[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="causality_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="invoice_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="payment_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="event_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getImmobilisationState[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getGroupingReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getSourceReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getDestinationReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getStringIndex[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getIntIndex[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getFloatIndex[loop_item]" type="float" optional>,\n + <dtml-sqlvar expr="hasCellContent[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getCreationDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + catalog\n +VALUES\n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +(\n + <dtml-sqlvar expr="uid[loop_item]" type="int">, \n + <dtml-sqlvar expr="security_uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getPath[loop_item]" type="string">,\n + <dtml-sqlvar expr="getRelativeUrl[loop_item]" type="string">,\n + <dtml-sqlvar expr="getParentUid[loop_item]" type="int">,\n + <dtml-sqlvar expr="id[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getDescription[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getTitle[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="meta_type[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getPortalType[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="opportunity_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getCorporateRegistrationCode[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getEan13Code[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="validation_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getSimulationState[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="causality_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="invoice_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="payment_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="event_state[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getImmobilisationState[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getGroupingReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getSourceReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getDestinationReference[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getStringIndex[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getIntIndex[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getFloatIndex[loop_item]" type="float" optional>,\n + <dtml-sqlvar expr="hasCellContent[loop_item]" type="int" optional>,\n + <dtml-sqlvar expr="getCreationDate[loop_item]" type="datetime" optional>,\n + <dtml-sqlvar expr="getModificationDate[loop_item]" type="datetime" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_paths.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_paths.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_paths.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_paths.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_paths.xml new file mode 100755 index 0000000000000000000000000000000000000000..cc1885789212ba526369bd8b5dcc16e2d45bdb1b --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_paths.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_paths</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>100000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>select distinct path from catalog</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>select distinct path from catalog</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_category_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_category_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..f892521ce828cc60c9390156d8fedd904512f837 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_category_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isPredicate</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_category_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_category_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..2ffcf8faaa62476f1977ae455c14e2796619dfa2 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_category_list.xml @@ -0,0 +1,249 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>isPredicate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>predicate_property_dict</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>predicate_property_dict</string> +<string>isPredicate</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +predicate_property_dict\r\n +isPredicate</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_predicate_category_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + predicate_category\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +<dtml-let predicate_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isPredicate[loop_item]">\n + <dtml-call expr="predicate_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(predicate_list) > 0">\n +INSERT INTO predicate_category VALUES \n + <dtml-in prefix="loop" expr="predicate_list">\n + <dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-if "predicate_property_dict[loop_item].has_key(\'membership_criterion_category_list\')">\n + <dtml-let uid_list="portal_categories.getCategoryParentUidList(predicate_property_dict[loop_item][\'membership_criterion_category_list\'])">\n + <dtml-if uid_list>\n + <dtml-in "uid_list">\n +(<dtml-sqlvar expr="uid[loop_item]" type="int">, <dtml-var "_[\'sequence-item\'][0]" >, <dtml-var "_[\'sequence-item\'][1]" >, <dtml-var "_[\'sequence-item\'][2]" >)\n + <dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in> \n + <dtml-else>\n +(<dtml-sqlvar expr="uid[loop_item]" type="int">, NULL, NULL,1)\n + </dtml-if>\n + </dtml-let>\n + <dtml-else>\n +(<dtml-sqlvar expr="uid[loop_item]" type="int">, NULL, NULL,1)\n + </dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + predicate_category\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +<dtml-let predicate_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isPredicate[loop_item]">\n + <dtml-call expr="predicate_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(predicate_list) > 0">\n +INSERT INTO predicate_category VALUES \n + <dtml-in prefix="loop" expr="predicate_list">\n + <dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-if "predicate_property_dict[loop_item].has_key(\'membership_criterion_category_list\')">\n + <dtml-let uid_list="portal_categories.getCategoryParentUidList(predicate_property_dict[loop_item][\'membership_criterion_category_list\'])">\n + <dtml-if uid_list>\n + <dtml-in "uid_list">\n +(<dtml-sqlvar expr="uid[loop_item]" type="int">, <dtml-var "_[\'sequence-item\'][0]" >, <dtml-var "_[\'sequence-item\'][1]" >, <dtml-var "_[\'sequence-item\'][2]" >)\n + <dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in> \n + <dtml-else>\n +(<dtml-sqlvar expr="uid[loop_item]" type="int">, NULL, NULL,1)\n + </dtml-if>\n + </dtml-let>\n + <dtml-else>\n +(<dtml-sqlvar expr="uid[loop_item]" type="int">, NULL, NULL,1)\n + </dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..f892521ce828cc60c9390156d8fedd904512f837 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isPredicate</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..c04dd80e33eaadb350b0716666b4b335994e1cc9 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_predicate_list.xml @@ -0,0 +1,219 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>isPredicate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>predicate_property_dict</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>isPredicate</string> +<string>predicate_property_dict</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +isPredicate\r\n +predicate_property_dict</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_predicate_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let predicate_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isPredicate[loop_item]">\n + <dtml-call expr="predicate_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(predicate_list) > 0">\n +REPLACE INTO predicate VALUES \n + <dtml-in prefix="loop" expr="predicate_list">\n + <dtml-if sequence-start><dtml-else>,</dtml-if>\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'quantity\', None)" type="float" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'quantity_range_min\', None)" type="float" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'quantity_range_max\', None)" type="float" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'start_date\', None)" type="datetime" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'start_date_range_min\', None)" type="datetime" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'start_date_range_max\', None)" type="datetime" optional>\n +)\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let predicate_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isPredicate[loop_item]">\n + <dtml-call expr="predicate_list.append(loop_item)">\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="_.len(predicate_list) > 0">\n +REPLACE INTO predicate VALUES \n + <dtml-in prefix="loop" expr="predicate_list">\n + <dtml-if sequence-start><dtml-else>,</dtml-if>\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'quantity\', None)" type="float" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'quantity_range_min\', None)" type="float" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'quantity_range_max\', None)" type="float" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'start_date\', None)" type="datetime" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'start_date_range_min\', None)" type="datetime" optional>,\n + <dtml-sqlvar expr="predicate_property_dict[loop_item].get(\'start_date_range_max\', None)" type="datetime" optional>\n +)\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_roles_and_users_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_roles_and_users_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..906d8b639bc5ea904b820846fa3bb0d94f080809 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_roles_and_users_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_roles_and_users_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_roles_and_users_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..08cc65d3a59a6bd0123b377873be8522e7a61a78 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_roles_and_users_list.xml @@ -0,0 +1,203 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>optimised_roles_and_users</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>security_uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>security_uid</string> +<string>optimised_roles_and_users</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>security_uid\r\n +optimised_roles_and_users</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_roles_and_users_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let row_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(security_uid))">\n + <dtml-if expr="optimised_roles_and_users[loop_item]">\n + <dtml-in prefix="role" expr="optimised_roles_and_users[loop_item]">\n + <dtml-call expr="row_list.append([security_uid[loop_item], role_item])">\n + </dtml-in>\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="row_list">\n +INSERT INTO\n + roles_and_users\n +VALUES\n + <dtml-in prefix="row" expr="row_list">\n +(<dtml-sqlvar expr="row_item[0]" type="string">, <dtml-sqlvar expr="row_item[1]" type="string">)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-let row_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(security_uid))">\n + <dtml-if expr="optimised_roles_and_users[loop_item]">\n + <dtml-in prefix="role" expr="optimised_roles_and_users[loop_item]">\n + <dtml-call expr="row_list.append([security_uid[loop_item], role_item])">\n + </dtml-in>\n + </dtml-if>\n + </dtml-in>\n + <dtml-if expr="row_list">\n +INSERT INTO\n + roles_and_users\n +VALUES\n + <dtml-in prefix="row" expr="row_list">\n +(<dtml-sqlvar expr="row_item[0]" type="string">, <dtml-sqlvar expr="row_item[1]" type="string">)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_stock_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_stock_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..07f50de92df3f948fbcfa156f358640ff1fe8e2c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_stock_list.catalog_keys.xml @@ -0,0 +1,19 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: isMovement</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_stock_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_stock_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..b8b941949bfdf2ac8988d02e320efba604cc57b5 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_stock_list.xml @@ -0,0 +1,441 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getDestinationFunctionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationInventoriatedTotalAssetPrice</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationPaymentUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationProjectUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationSectionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getDestinationUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getInventoriatedQuantity</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getPortalType</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getResourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSimulationState</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceFunctionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceInventoriatedTotalAssetPrice</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourcePaymentUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceProjectUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceSectionUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSourceUid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStartDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStopDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getSubVariationText</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getVariationText</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isAccountable</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>isMovement</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>getResourceUid</string> +<string>getInventoriatedQuantity</string> +<string>getSourceUid</string> +<string>getDestinationUid</string> +<string>getSourceSectionUid</string> +<string>getDestinationSectionUid</string> +<string>isMovement</string> +<string>getSourcePaymentUid</string> +<string>getDestinationPaymentUid</string> +<string>getSourceFunctionUid</string> +<string>getDestinationFunctionUid</string> +<string>getSourceProjectUid</string> +<string>getDestinationProjectUid</string> +<string>getSimulationState</string> +<string>getSourceInventoriatedTotalAssetPrice</string> +<string>getDestinationInventoriatedTotalAssetPrice</string> +<string>getStartDate</string> +<string>getStopDate</string> +<string>isAccountable</string> +<string>getPortalType</string> +<string>getVariationText</string> +<string>getSubVariationText</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\n +getResourceUid\n +getInventoriatedQuantity\n +getSourceUid\n +getDestinationUid\n +getSourceSectionUid\n +getDestinationSectionUid\n +isMovement\n +getSourcePaymentUid\n +getDestinationPaymentUid\n +getSourceFunctionUid\n +getDestinationFunctionUid\n +getSourceProjectUid\n +getDestinationProjectUid\n +getSimulationState\n +getSourceInventoriatedTotalAssetPrice\n +getDestinationInventoriatedTotalAssetPrice\n +getStartDate\n +getStopDate\n +isAccountable\n +getPortalType\n +getVariationText\n +getSubVariationText</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_stock_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + stock\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +<dtml-let row_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isMovement[loop_item]">\n + <dtml-if "isAccountable[loop_item]">\n + <dtml-if "getResourceUid[loop_item]">\n + <dtml-if "getDestinationUid[loop_item]">\n + <dtml-call expr="row_list.append([uid[loop_item], getDestinationUid[loop_item], getDestinationSectionUid[loop_item], getDestinationPaymentUid[loop_item], getDestinationFunctionUid[loop_item], getDestinationProjectUid[loop_item], getSourceSectionUid[loop_item], getSourceUid[loop_item], getResourceUid[loop_item], getInventoriatedQuantity[loop_item], getStopDate[loop_item], getDestinationInventoriatedTotalAssetPrice[loop_item], getPortalType[loop_item], getSimulationState[loop_item], getVariationText[loop_item],getSubVariationText[loop_item]])">\n + </dtml-if>\n + <dtml-if "getSourceUid[loop_item]">\n + <dtml-call expr="row_list.append([uid[loop_item], getSourceUid[loop_item], getSourceSectionUid[loop_item], getSourcePaymentUid[loop_item], getSourceFunctionUid[loop_item], getSourceProjectUid[loop_item], getDestinationSectionUid[loop_item], getDestinationUid[loop_item], getResourceUid[loop_item], -(getInventoriatedQuantity[loop_item] or 0), getStartDate[loop_item], getSourceInventoriatedTotalAssetPrice[loop_item], getPortalType[loop_item], getSimulationState[loop_item], getVariationText[loop_item], getSubVariationText[loop_item]])">\n + </dtml-if>\n + </dtml-if>\n + </dtml-if>\n + </dtml-if>\n + </dtml-in> \n + \n + <dtml-if "row_list">\n +INSERT INTO\n + stock\n +VALUES\n + <dtml-in prefix="row" expr="row_list">\n +(\n + <dtml-sqlvar expr="row_item[0]" type="int">,\n + <dtml-sqlvar expr="row_item[1]" type="int">, \n + <dtml-sqlvar expr="row_item[2]" type="int" optional>, \n + <dtml-sqlvar expr="row_item[3]" type="int" optional>, \n + <dtml-sqlvar expr="row_item[4]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[5]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[6]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[7]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[8]" type="int">, \n + <dtml-sqlvar expr="row_item[9]" type="float" optional>,\n + <dtml-sqlvar expr="row_item[10]" type="datetime" optional>,\n + <dtml-sqlvar expr="row_item[11]" type="float" optional>,\n + <dtml-sqlvar expr="row_item[12]" type="string" optional>,\n + <dtml-sqlvar expr="row_item[13]" type="string" optional>,\n + <dtml-sqlvar expr="row_item[14]" type="string" optional>,\n + <dtml-sqlvar expr="row_item[15]" type="string" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM\n + stock\n +WHERE\n +<dtml-in uid>\n + uid=<dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +;\n +\n +<dtml-var "\'\\0\'">\n +\n +<dtml-let row_list="[]">\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if "isMovement[loop_item]">\n + <dtml-if "isAccountable[loop_item]">\n + <dtml-if "getResourceUid[loop_item]">\n + <dtml-if "getDestinationUid[loop_item]">\n + <dtml-call expr="row_list.append([uid[loop_item], getDestinationUid[loop_item], getDestinationSectionUid[loop_item], getDestinationPaymentUid[loop_item], getDestinationFunctionUid[loop_item], getDestinationProjectUid[loop_item], getSourceSectionUid[loop_item], getSourceUid[loop_item], getResourceUid[loop_item], getInventoriatedQuantity[loop_item], getStopDate[loop_item], getDestinationInventoriatedTotalAssetPrice[loop_item], getPortalType[loop_item], getSimulationState[loop_item], getVariationText[loop_item],getSubVariationText[loop_item]])">\n + </dtml-if>\n + <dtml-if "getSourceUid[loop_item]">\n + <dtml-call expr="row_list.append([uid[loop_item], getSourceUid[loop_item], getSourceSectionUid[loop_item], getSourcePaymentUid[loop_item], getSourceFunctionUid[loop_item], getSourceProjectUid[loop_item], getDestinationSectionUid[loop_item], getDestinationUid[loop_item], getResourceUid[loop_item], -(getInventoriatedQuantity[loop_item] or 0), getStartDate[loop_item], getSourceInventoriatedTotalAssetPrice[loop_item], getPortalType[loop_item], getSimulationState[loop_item], getVariationText[loop_item], getSubVariationText[loop_item]])">\n + </dtml-if>\n + </dtml-if>\n + </dtml-if>\n + </dtml-if>\n + </dtml-in> \n + \n + <dtml-if "row_list">\n +INSERT INTO\n + stock\n +VALUES\n + <dtml-in prefix="row" expr="row_list">\n +(\n + <dtml-sqlvar expr="row_item[0]" type="int">,\n + <dtml-sqlvar expr="row_item[1]" type="int">, \n + <dtml-sqlvar expr="row_item[2]" type="int" optional>, \n + <dtml-sqlvar expr="row_item[3]" type="int" optional>, \n + <dtml-sqlvar expr="row_item[4]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[5]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[6]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[7]" type="int" optional>,\n + <dtml-sqlvar expr="row_item[8]" type="int">, \n + <dtml-sqlvar expr="row_item[9]" type="float" optional>,\n + <dtml-sqlvar expr="row_item[10]" type="datetime" optional>,\n + <dtml-sqlvar expr="row_item[11]" type="float" optional>,\n + <dtml-sqlvar expr="row_item[12]" type="string" optional>,\n + <dtml-sqlvar expr="row_item[13]" type="string" optional>,\n + <dtml-sqlvar expr="row_item[14]" type="string" optional>,\n + <dtml-sqlvar expr="row_item[15]" type="string" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n + </dtml-if>\n +</dtml-let>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_subject_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_subject_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_subject_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_subject_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_subject_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..38149e87e20fe2259da996bf32d0467b0cd1e597 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_subject_list.xml @@ -0,0 +1,195 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>Subject</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>Subject</string> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>Subject\r\n +uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_subject_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO subject VALUES \n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-let subject="Subject[loop_item]">\n + <dtml-if subject>\n + <dtml-in prefix="word" expr="subject.split()">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n +(<dtml-sqlvar "uid[loop_item]" type="int">, <dtml-sqlvar word_item type="string">)\n + </dtml-in>\n + <dtml-else>\n +(<dtml-sqlvar "uid[loop_item]" type="int">, NULL)\n + </dtml-if>\n + </dtml-let>\n +</dtml-in>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO subject VALUES \n +<dtml-in prefix="loop" expr="_.range(_.len(uid))">\n + <dtml-if sequence-start><dtml-else>,</dtml-if>\n + <dtml-let subject="Subject[loop_item]">\n + <dtml-if subject>\n + <dtml-in prefix="word" expr="subject.split()">\n +<dtml-if sequence-start><dtml-else>,</dtml-if>\n +(<dtml-sqlvar "uid[loop_item]" type="int">, <dtml-sqlvar word_item type="string">)\n + </dtml-in>\n + <dtml-else>\n +(<dtml-sqlvar "uid[loop_item]" type="int">, NULL)\n + </dtml-if>\n + </dtml-let>\n +</dtml-in>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_translation_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_translation_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_translation_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_translation_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_translation_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..6c23cac2d739727a958bc931d9456f0256922759 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_catalog_translation_list.xml @@ -0,0 +1,203 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>language</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>message_context</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>original_message</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>translated_message</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>language</string> +<string>message_context</string> +<string>original_message</string> +<string>translated_message</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>language\r\n +message_context\r\n +original_message\r\n +translated_message</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_catalog_translation_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +INSERT INTO translation VALUES \n +<dtml-in prefix="loop" expr="_.range(_.len(language))">\n +(\n + <dtml-sqlvar expr="language[loop_item]" type="string">,\n + <dtml-sqlvar expr="message_context[loop_item]" type="string">,\n + <dtml-sqlvar expr="original_message[loop_item]" type="string">,\n + <dtml-sqlvar expr="translated_message[loop_item]" type="string">\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +INSERT INTO translation VALUES \n +<dtml-in prefix="loop" expr="_.range(_.len(language))">\n +(\n + <dtml-sqlvar expr="language[loop_item]" type="string">,\n + <dtml-sqlvar expr="message_context[loop_item]" type="string">,\n + <dtml-sqlvar expr="original_message[loop_item]" type="string">,\n + <dtml-sqlvar expr="translated_message[loop_item]" type="string">\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_clear_reserved.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_clear_reserved.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_clear_reserved.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_clear_reserved.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_clear_reserved.xml new file mode 100755 index 0000000000000000000000000000000000000000..8b5eb51f75f719d0f0daa0f92be59a1aa042f38c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_clear_reserved.xml @@ -0,0 +1,180 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>count</string> </key> + <value> + <dictionary> + <item> + <key> <string>type</string> </key> + <value> <string>int</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>date</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>thread_id</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>count</string> +<string>thread_id</string> +<string>date</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>count:int\n +thread_id\n +date</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_clear_reserved</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DELETE FROM\n + catalog\n +WHERE\n + path = "reserved"\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DELETE FROM\n + catalog\n +WHERE\n + path = "reserved"\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Clear Reserved Uids</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_count_results.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_count_results.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_count_results.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_count_results.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_count_results.xml new file mode 100755 index 0000000000000000000000000000000000000000..c7452dba9f4b2b04822bae67b386cf5e5ae4514e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_count_results.xml @@ -0,0 +1,263 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>from_table_list</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>select_expression</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>selection_domain</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>selection_report</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>where_expression</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>from_table_list</string> +<string>where_expression</string> +<string>select_expression</string> +<string>selection_domain</string> +<string>selection_report</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>from_table_list\r\n +where_expression\r\n +select_expression\r\n +selection_domain\r\n +selection_report</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string>zsqlbrain.py</string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string>ZSQLBrain</string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_count_results</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT\n + COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n +<dtml-if select_expression>\n + , <dtml-var select_expression>\n +</dtml-if>\n +FROM\n + <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n + <dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n + <dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n +WHERE\n + 1 = 1\n +<dtml-if where_expression>\n + AND <dtml-var where_expression>\n +</dtml-if>\n +<dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlExpression()">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlExpression(strict_membership=1)">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if sort_on>\n +ORDER BY\n + <dtml-var sort_on>\n +</dtml-if>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT\n + COUNT(DISTINCT catalog.uid) <dtml-comment>We need subselect for better statistics</dtml-comment>\n +<dtml-if select_expression>\n + , <dtml-var select_expression>\n +</dtml-if>\n +FROM\n + <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n + <dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n + <dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n +WHERE\n + 1 = 1\n +<dtml-if where_expression>\n + AND <dtml-var where_expression>\n +</dtml-if>\n +<dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlExpression()">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlExpression(strict_membership=1)">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if sort_on>\n +ORDER BY\n + <dtml-var sort_on>\n +</dtml-if>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml new file mode 100755 index 0000000000000000000000000000000000000000..f69e5288489fbf85e1d9028a3b31aeff11d3f7c6 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml @@ -0,0 +1,244 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_catalog</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'catalog\'\n +#\n +CREATE TABLE `catalog` (\n + `uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n + `security_uid` INT UNSIGNED,\n + `path` varchar(255) NOT NULL default \'\',\n + `relative_url` varchar(255) NOT NULL default \'\',\n + `parent_uid` BIGINT UNSIGNED default \'0\',\n + `id` varchar(255) default \'\',\n + `description` text,\n + `title` varchar(255) default \'\',\n + `meta_type` varchar(255) default \'\',\n + `portal_type` varchar(255) default \'\',\n + `opportunity_state` varchar(255) default \'\',\n + `corporate_registration_code` varchar(255),\n + `ean13_code` varchar(255),\n + `validation_state` varchar(255) default \'\',\n + `simulation_state` varchar(255) default \'\',\n + `causality_state` varchar(255) default \'\',\n + `invoice_state` varchar(255) default \'\',\n + `payment_state` varchar(255) default \'\',\n + `event_state` varchar(255) default \'\',\n + `immobilisation_state` varchar(255) default \'\',\n + `reference` varchar(255) default \'\',\n + `grouping_reference` varchar(255) default \'\',\n + `source_reference` varchar(255) default \'\',\n + `destination_reference` varchar(255) default \'\',\n + `string_index` varchar(255),\n + `int_index` INT,\n + `float_index` real,\n + `has_cell_content` bool,\n + `creation_date` datetime,\n + `modification_date` datetime,\n + PRIMARY KEY (`uid`),\n + KEY `security_uid` (`security_uid`),\n + KEY `Parent` (`parent_uid`),\n + KEY `Path` (`path`),\n + KEY `relative_url` (`relative_url`),\n + KEY `Type` (`meta_type`,`portal_type`),\n + KEY `Type1` (`portal_type`),\n + KEY `Type2` (`meta_type`),\n + KEY `opportunity_state` (`opportunity_state`),\n + KEY `validation_state` (`validation_state`),\n + KEY `simulation_state` (`simulation_state`),\n + KEY `causality_state` (`causality_state`),\n + KEY `invoice_state` (`invoice_state`),\n + KEY `payment_state` (`payment_state`),\n + KEY `event_state` (`event_state`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'catalog\'\n +#\n +CREATE TABLE `catalog` (\n + `uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n + `security_uid` INT UNSIGNED,\n + `path` varchar(255) NOT NULL default \'\',\n + `relative_url` varchar(255) NOT NULL default \'\',\n + `parent_uid` BIGINT UNSIGNED default \'0\',\n + `id` varchar(255) default \'\',\n + `description` text,\n + `title` varchar(255) default \'\',\n + `meta_type` varchar(255) default \'\',\n + `portal_type` varchar(255) default \'\',\n + `opportunity_state` varchar(255) default \'\',\n + `corporate_registration_code` varchar(255),\n + `ean13_code` varchar(255),\n + `validation_state` varchar(255) default \'\',\n + `simulation_state` varchar(255) default \'\',\n + `causality_state` varchar(255) default \'\',\n + `invoice_state` varchar(255) default \'\',\n + `payment_state` varchar(255) default \'\',\n + `event_state` varchar(255) default \'\',\n + `immobilisation_state` varchar(255) default \'\',\n + `reference` varchar(255) default \'\',\n + `grouping_reference` varchar(255) default \'\',\n + `source_reference` varchar(255) default \'\',\n + `destination_reference` varchar(255) default \'\',\n + `string_index` varchar(255),\n + `int_index` INT,\n + `float_index` real,\n + `has_cell_content` bool,\n + `creation_date` datetime,\n + `modification_date` datetime,\n + PRIMARY KEY (`uid`),\n + KEY `security_uid` (`security_uid`),\n + KEY `Parent` (`parent_uid`),\n + KEY `Path` (`path`),\n + KEY `relative_url` (`relative_url`),\n + KEY `Type` (`meta_type`,`portal_type`),\n + KEY `Type1` (`portal_type`),\n + KEY `Type2` (`meta_type`),\n + KEY `opportunity_state` (`opportunity_state`),\n + KEY `validation_state` (`validation_state`),\n + KEY `simulation_state` (`simulation_state`),\n + KEY `causality_state` (`causality_state`),\n + KEY `invoice_state` (`invoice_state`),\n + KEY `payment_state` (`payment_state`),\n + KEY `event_state` (`event_state`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_category.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_category.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_category.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_category.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_category.xml new file mode 100755 index 0000000000000000000000000000000000000000..f8c2a4178851688414e125749f49c034e6066c8c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_category.xml @@ -0,0 +1,170 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_category</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host: \n +# Database: test\n +# Table: \'category\'\n +# \n +CREATE TABLE `category` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `category_uid` BIGINT UNSIGNED default \'0\',\n + `base_category_uid` BIGINT UNSIGNED default \'0\',\n + `category_strict_membership` tinyint(1) default \'0\',\n + KEY `uid` (`uid`),\n + KEY `category_strict_membership` (`category_strict_membership`),\n + KEY `Membership` (`category_uid`,`base_category_uid`),\n + KEY `FuzzyMembership` (`category_uid`)\n +) TYPE = InnoDB; \n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host: \n +# Database: test\n +# Table: \'category\'\n +# \n +CREATE TABLE `category` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `category_uid` BIGINT UNSIGNED default \'0\',\n + `base_category_uid` BIGINT UNSIGNED default \'0\',\n + `category_strict_membership` tinyint(1) default \'0\',\n + KEY `uid` (`uid`),\n + KEY `category_strict_membership` (`category_strict_membership`),\n + KEY `Membership` (`category_uid`,`base_category_uid`),\n + KEY `FuzzyMembership` (`category_uid`)\n +) TYPE = InnoDB; \n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_compatibility.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_compatibility.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_compatibility.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_compatibility.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_compatibility.xml new file mode 100755 index 0000000000000000000000000000000000000000..5f2e15da5b6cabecb15d6712e3f5c2bfe36516e6 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_compatibility.xml @@ -0,0 +1,198 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_compatibility</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'compatibility\'\n +#\n +CREATE TABLE `compatibility` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `Creator` varchar(255) default \'\',\n + `Date` datetime default \'0000-00-00 00:00:00\',\n + `PrincipiaSearchSource` text,\n + `SearchableText` text,\n + `CreationDate` datetime default \'0000-00-00 00:00:00\',\n + `EffectiveDate` datetime default \'0000-00-00 00:00:00\',\n + `ExpiresDate` datetime default \'0000-00-00 00:00:00\',\n + `ModificationDate` datetime default \'0000-00-00 00:00:00\',\n + `Type` varchar(255) default \'\',\n + `bobobase_modification_time` datetime default \'0000-00-00 00:00:00\',\n + `created` datetime default \'0000-00-00 00:00:00\',\n + `effective` datetime default \'0000-00-00 00:00:00\',\n + `expires` datetime default \'0000-00-00 00:00:00\',\n + `getIcon` varchar(255) default \'\',\n + `in_reply_to` varchar(255) default \'\',\n + `modified` datetime default \'0000-00-00 00:00:00\',\n + `review_state` varchar(255) default \'\',\n + `summary` text,\n + PRIMARY KEY (`uid`),\n + KEY `Type` (`Type`),\n + KEY `review_state` (`review_state`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'compatibility\'\n +#\n +CREATE TABLE `compatibility` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `Creator` varchar(255) default \'\',\n + `Date` datetime default \'0000-00-00 00:00:00\',\n + `PrincipiaSearchSource` text,\n + `SearchableText` text,\n + `CreationDate` datetime default \'0000-00-00 00:00:00\',\n + `EffectiveDate` datetime default \'0000-00-00 00:00:00\',\n + `ExpiresDate` datetime default \'0000-00-00 00:00:00\',\n + `ModificationDate` datetime default \'0000-00-00 00:00:00\',\n + `Type` varchar(255) default \'\',\n + `bobobase_modification_time` datetime default \'0000-00-00 00:00:00\',\n + `created` datetime default \'0000-00-00 00:00:00\',\n + `effective` datetime default \'0000-00-00 00:00:00\',\n + `expires` datetime default \'0000-00-00 00:00:00\',\n + `getIcon` varchar(255) default \'\',\n + `in_reply_to` varchar(255) default \'\',\n + `modified` datetime default \'0000-00-00 00:00:00\',\n + `review_state` varchar(255) default \'\',\n + `summary` text,\n + PRIMARY KEY (`uid`),\n + KEY `Type` (`Type`),\n + KEY `review_state` (`review_state`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_delivery.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_delivery.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_delivery.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_delivery.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_delivery.xml new file mode 100755 index 0000000000000000000000000000000000000000..52eea33e1a895718e7cae79aa1f5d68696dcea8f --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_delivery.xml @@ -0,0 +1,182 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_delivery</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE `delivery` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `source_uid` BIGINT UNSIGNED default \'0\',\n + `destination_uid` BIGINT UNSIGNED default \'0\',\n + `source_section_uid` BIGINT UNSIGNED default \'0\',\n + `destination_section_uid` BIGINT UNSIGNED default \'0\',\n + `resource_uid` BIGINT UNSIGNED default \'0\',\n + `start_date` datetime default NULL,\n + `start_date_range_min` datetime default NULL,\n + `start_date_range_max` datetime default NULL,\n + `stop_date` datetime default NULL,\n + `stop_date_range_min` datetime default NULL,\n + `stop_date_range_max` datetime default NULL,\n + PRIMARY KEY (`uid`),\n + KEY `source_uid` (`source_uid`),\n + KEY `destination_uid` (`destination_uid`),\n + KEY `source_section_uid` (`source_section_uid`),\n + KEY `destination_section_uid` (`destination_section_uid`),\n + KEY `resource_uid` (`resource_uid`)\n +) TYPE=InnoDB\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE `delivery` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `source_uid` BIGINT UNSIGNED default \'0\',\n + `destination_uid` BIGINT UNSIGNED default \'0\',\n + `source_section_uid` BIGINT UNSIGNED default \'0\',\n + `destination_section_uid` BIGINT UNSIGNED default \'0\',\n + `resource_uid` BIGINT UNSIGNED default \'0\',\n + `start_date` datetime default NULL,\n + `start_date_range_min` datetime default NULL,\n + `start_date_range_max` datetime default NULL,\n + `stop_date` datetime default NULL,\n + `stop_date_range_min` datetime default NULL,\n + `stop_date_range_max` datetime default NULL,\n + PRIMARY KEY (`uid`),\n + KEY `source_uid` (`source_uid`),\n + KEY `destination_uid` (`destination_uid`),\n + KEY `source_section_uid` (`source_section_uid`),\n + KEY `destination_section_uid` (`destination_section_uid`),\n + KEY `resource_uid` (`resource_uid`)\n +) TYPE=InnoDB\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_item.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_item.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_item.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_item.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_item.xml new file mode 100755 index 0000000000000000000000000000000000000000..e36b258c40091cd2bfce9611e7a41aaf123db646 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_item.xml @@ -0,0 +1,180 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_item</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'item\'\n +#\n +CREATE TABLE `item` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `date` datetime,\n + `node_uid` BIGINT UNSIGNED default \'0\',\n + `section_uid` BIGINT UNSIGNED default \'0\',\n + `resource_uid` BIGINT UNSIGNED default \'0\',\n + `aggregate_uid` BIGINT UNSIGNED default \'0\',\n + `variation_text` VARCHAR(255),\n + KEY `uid` (`uid`),\n + KEY `node_uid` (`node_uid`),\n + KEY `section_uid` (`section_uid`),\n + KEY `resource_uid` (`resource_uid`),\n + KEY `variation_text` (`variation_text`)\n +) TYPE=InnoDB;\n +\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'item\'\n +#\n +CREATE TABLE `item` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `date` datetime,\n + `node_uid` BIGINT UNSIGNED default \'0\',\n + `section_uid` BIGINT UNSIGNED default \'0\',\n + `resource_uid` BIGINT UNSIGNED default \'0\',\n + `aggregate_uid` BIGINT UNSIGNED default \'0\',\n + `variation_text` VARCHAR(255),\n + KEY `uid` (`uid`),\n + KEY `node_uid` (`node_uid`),\n + KEY `section_uid` (`section_uid`),\n + KEY `resource_uid` (`resource_uid`),\n + KEY `variation_text` (`variation_text`)\n +) TYPE=InnoDB;\n +\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_movement.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_movement.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_movement.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_movement.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_movement.xml new file mode 100755 index 0000000000000000000000000000000000000000..cb2205bf54ca63ad374bbc890988845a8cef7fc1 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_movement.xml @@ -0,0 +1,200 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_movement</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'movement\'\n +#\n +CREATE TABLE `movement` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `explanation_uid` BIGINT UNSIGNED default \'0\',\n + `source_uid` BIGINT UNSIGNED default \'0\',\n + `destination_uid` BIGINT UNSIGNED default \'0\',\n + `resource_uid` BIGINT UNSIGNED default \'0\',\n + `quantity` real default \'0.0\',\n + `start_date` datetime,\n + `stop_date` datetime,\n + `price` real,\n + `is_accountable` bool,\n + `is_orderable` bool,\n + `is_deliverable` bool,\n + `is_divergent` bool,\n + `variation_text` VARCHAR(255),\n + PRIMARY KEY `uid` (`uid`),\n + KEY `explanation_uid` (`explanation_uid`),\n + KEY `source_uid` (`source_uid`),\n + KEY `destination_uid` (`destination_uid`),\n + KEY `resource_uid` (`resource_uid`),\n + KEY `is_accountable` (`is_accountable`),\n + KEY `is_orderable` (`is_orderable`),\n + KEY `is_deliverable` (`is_deliverable`),\n + KEY `variation_text` (`variation_text`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'movement\'\n +#\n +CREATE TABLE `movement` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `explanation_uid` BIGINT UNSIGNED default \'0\',\n + `source_uid` BIGINT UNSIGNED default \'0\',\n + `destination_uid` BIGINT UNSIGNED default \'0\',\n + `resource_uid` BIGINT UNSIGNED default \'0\',\n + `quantity` real default \'0.0\',\n + `start_date` datetime,\n + `stop_date` datetime,\n + `price` real,\n + `is_accountable` bool,\n + `is_orderable` bool,\n + `is_deliverable` bool,\n + `is_divergent` bool,\n + `variation_text` VARCHAR(255),\n + PRIMARY KEY `uid` (`uid`),\n + KEY `explanation_uid` (`explanation_uid`),\n + KEY `source_uid` (`source_uid`),\n + KEY `destination_uid` (`destination_uid`),\n + KEY `resource_uid` (`resource_uid`),\n + KEY `is_accountable` (`is_accountable`),\n + KEY `is_orderable` (`is_orderable`),\n + KEY `is_deliverable` (`is_deliverable`),\n + KEY `variation_text` (`variation_text`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate.xml new file mode 100755 index 0000000000000000000000000000000000000000..c6bf22c206738f12c5b1f4cc37654c1eab5b9ed9 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate.xml @@ -0,0 +1,162 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_predicate</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE predicate (\n + uid BIGINT UNSIGNED NOT NULL,\n + `quantity` real ,\n + `quantity_range_min` real ,\n + `quantity_range_max` real ,\n + `start_date` datetime,\n + `start_date_range_min` datetime ,\n + `start_date_range_max` datetime ,\n + PRIMARY KEY `uid` (`uid`)\n +) TYPE=InnoDB; \n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE predicate (\n + uid BIGINT UNSIGNED NOT NULL,\n + `quantity` real ,\n + `quantity_range_min` real ,\n + `quantity_range_max` real ,\n + `start_date` datetime,\n + `start_date_range_min` datetime ,\n + `start_date_range_max` datetime ,\n + PRIMARY KEY `uid` (`uid`)\n +) TYPE=InnoDB; \n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate_category.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate_category.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate_category.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate_category.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate_category.xml new file mode 100755 index 0000000000000000000000000000000000000000..2c618c9ddbcafab050ce871cc17e18787232a9e2 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_predicate_category.xml @@ -0,0 +1,170 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_predicate_category</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host: \n +# Database: test\n +# Table: \'category\'\n +# \n +CREATE TABLE `predicate_category` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `category_uid` BIGINT UNSIGNED default \'0\',\n + `base_category_uid` BIGINT UNSIGNED default \'0\',\n + `category_strict_membership` tinyint(1) default \'0\',\n + KEY `uid` (`uid`),\n + KEY `category_strict_membership` (`category_strict_membership`),\n + KEY `Membership` (`category_uid`,`base_category_uid`),\n + KEY `FuzzyMembership` (`category_uid`)\n +) TYPE = InnoDB; \n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host: \n +# Database: test\n +# Table: \'category\'\n +# \n +CREATE TABLE `predicate_category` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `category_uid` BIGINT UNSIGNED default \'0\',\n + `base_category_uid` BIGINT UNSIGNED default \'0\',\n + `category_strict_membership` tinyint(1) default \'0\',\n + KEY `uid` (`uid`),\n + KEY `category_strict_membership` (`category_strict_membership`),\n + KEY `Membership` (`category_uid`,`base_category_uid`),\n + KEY `FuzzyMembership` (`category_uid`)\n +) TYPE = InnoDB; \n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_record.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_record.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_record.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_record.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_record.xml new file mode 100755 index 0000000000000000000000000000000000000000..abd102bc02a08c6d1d0d8f44cba2a4e40c1a1042 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_record.xml @@ -0,0 +1,170 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_record</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'record\'\n +#\n +CREATE TABLE `record` (\n + `uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n + `path` varchar(255) NOT NULL default \'\',\n + `catalog` BOOL NOT NULL default 0,\n + `played` BOOL NOT NULL default 0,\n + `date` DATETIME NOT NULL,\n + PRIMARY KEY (`uid`),\n + KEY `played` (`played`),\n + KEY `date` (`date`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'record\'\n +#\n +CREATE TABLE `record` (\n + `uid` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,\n + `path` varchar(255) NOT NULL default \'\',\n + `catalog` BOOL NOT NULL default 0,\n + `played` BOOL NOT NULL default 0,\n + `date` DATETIME NOT NULL,\n + PRIMARY KEY (`uid`),\n + KEY `played` (`played`),\n + KEY `date` (`date`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_roles_and_users.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_roles_and_users.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_roles_and_users.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_roles_and_users.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_roles_and_users.xml new file mode 100755 index 0000000000000000000000000000000000000000..977be8d9a762e13ec6f60ed0deb2c600f91898ce --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_roles_and_users.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_roles_and_users</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE roles_and_users (\n + uid INT UNSIGNED,\n + allowedRolesAndUsers VARCHAR(255),\n + KEY `uid` (`uid`),\n + KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)\n +) TYPE=InnoDB; \n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE roles_and_users (\n + uid INT UNSIGNED,\n + allowedRolesAndUsers VARCHAR(255),\n + KEY `uid` (`uid`),\n + KEY `allowedRolesAndUsers` (`allowedRolesAndUsers`)\n +) TYPE=InnoDB; \n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..1966be98c039c2ad0157f2ddfe2162a292a07ca8 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_stock.xml @@ -0,0 +1,212 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'stock\'\n +#\n +CREATE TABLE `stock` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `node_uid` BIGINT UNSIGNED,\n + `section_uid` BIGINT UNSIGNED,\n + `payment_uid` BIGINT UNSIGNED,\n + `function_uid` BIGINT UNSIGNED,\n + `project_uid` BIGINT UNSIGNED,\n + `mirror_section_uid` BIGINT UNSIGNED,\n + `mirror_node_uid` BIGINT UNSIGNED,\n + `resource_uid` BIGINT UNSIGNED,\n + `quantity` real ,\n + `date` datetime,\n + `total_price` real ,\n + `portal_type` VARCHAR(255),\n + `simulation_state` varchar(255) default \'\',\n + `variation_text` VARCHAR(255),\n + `sub_variation_text` VARCHAR(255),\n + KEY `uid` (`uid`),\n + KEY `quantity` (`quantity`),\n + KEY `section_uid` (`section_uid`),\n + KEY `mirror_section_uid` (`mirror_section_uid`),\n + KEY `mirror_node_uid` (`mirror_node_uid`),\n + KEY `node_uid` (`node_uid`),\n + KEY `payment_uid` (`payment_uid`),\n + KEY `function_uid` (`function_uid`),\n + KEY `project_uid` (`project_uid`),\n + KEY `resource_uid` (`resource_uid`),\n + KEY `simulation_state` (`simulation_state`),\n + KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n + KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`)\n +) TYPE = InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string># Host:\n +# Database: test\n +# Table: \'stock\'\n +#\n +CREATE TABLE `stock` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `node_uid` BIGINT UNSIGNED,\n + `section_uid` BIGINT UNSIGNED,\n + `payment_uid` BIGINT UNSIGNED,\n + `function_uid` BIGINT UNSIGNED,\n + `project_uid` BIGINT UNSIGNED,\n + `mirror_section_uid` BIGINT UNSIGNED,\n + `mirror_node_uid` BIGINT UNSIGNED,\n + `resource_uid` BIGINT UNSIGNED,\n + `quantity` real ,\n + `date` datetime,\n + `total_price` real ,\n + `portal_type` VARCHAR(255),\n + `simulation_state` varchar(255) default \'\',\n + `variation_text` VARCHAR(255),\n + `sub_variation_text` VARCHAR(255),\n + KEY `uid` (`uid`),\n + KEY `quantity` (`quantity`),\n + KEY `section_uid` (`section_uid`),\n + KEY `mirror_section_uid` (`mirror_section_uid`),\n + KEY `mirror_node_uid` (`mirror_node_uid`),\n + KEY `node_uid` (`node_uid`),\n + KEY `payment_uid` (`payment_uid`),\n + KEY `function_uid` (`function_uid`),\n + KEY `project_uid` (`project_uid`),\n + KEY `resource_uid` (`resource_uid`),\n + KEY `simulation_state` (`simulation_state`),\n + KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n + KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`)\n +) TYPE = InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_subject.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_subject.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_subject.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_subject.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_subject.xml new file mode 100755 index 0000000000000000000000000000000000000000..b238aa8560f7de835f363a1f5377959aff89211a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_subject.xml @@ -0,0 +1,154 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_subject</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE subject (\n + uid BIGINT UNSIGNED NOT NULL,\n + subject VARCHAR(255),\n + PRIMARY KEY `uid` (`uid`),\n + KEY `allowedRolesAndUsers` (`Subject`)\n +) TYPE=InnoDB; \n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE subject (\n + uid BIGINT UNSIGNED NOT NULL,\n + subject VARCHAR(255),\n + PRIMARY KEY `uid` (`uid`),\n + KEY `allowedRolesAndUsers` (`Subject`)\n +) TYPE=InnoDB; \n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_translation.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_translation.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..4556ae614d8a8ff41da72c31b5ce55850d137790 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_translation.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_translation.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_translation.xml new file mode 100755 index 0000000000000000000000000000000000000000..699bea5fbb7be251615ae0af95e27e4287d2c1fe --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_translation.xml @@ -0,0 +1,158 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_create_translation</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE translation (\n + language VARCHAR(255),\n + message_context VARCHAR(50),\n + original_message VARCHAR(255),\n + translated_message VARCHAR(255),\n + KEY `message` (`translated_message`),\n + KEY `original_message` (`original_message`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE translation (\n + language VARCHAR(255),\n + message_context VARCHAR(50),\n + original_message VARCHAR(255),\n + translated_message VARCHAR(255),\n + KEY `message` (`translated_message`),\n + KEY `original_message` (`original_message`)\n +) TYPE=InnoDB;\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_recorded_object_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_recorded_object_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_recorded_object_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_recorded_object_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_recorded_object_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..c512abe5a28845bc7dcf6261bb4589658d74e94c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_recorded_object_list.xml @@ -0,0 +1,181 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid_list</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid_list</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid_list</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_delete_recorded_object_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-comment>Do not delete rows really, but just mark them as "played" to avoid dead locks</dtml-comment>\n +<dtml-if path>\n +UPDATE\n + record\n +SET\n + played = 1\n +WHERE\n +<dtml-in uid_list>\n + uid = <dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +</dtml-if>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-comment>Do not delete rows really, but just mark them as "played" to avoid dead locks</dtml-comment>\n +<dtml-if path>\n +UPDATE\n + record\n +SET\n + played = 1\n +WHERE\n +<dtml-in uid_list>\n + uid = <dtml-sqlvar sequence-item type="string"><dtml-if sequence-end><dtml-else> OR </dtml-if>\n +</dtml-in>\n +</dtml-if>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_translation_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_translation_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_translation_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_translation_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_translation_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..23cd09d3c596af13d2052eb7aaf2a4f9a67c2964 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_delete_translation_list.xml @@ -0,0 +1,144 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_delete_translation_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DELETE FROM translation\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DELETE FROM translation\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_path.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_path.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_path.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_path.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_path.xml new file mode 100755 index 0000000000000000000000000000000000000000..121ddd32c18ec986cdd148f6a5cca62528c74fcd --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_path.xml @@ -0,0 +1,167 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>path</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid_only</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>path</string> +<string>uid_only</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>path\n +uid_only</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string>zsqlbrain.py</string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string>ZSQLBrain</string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_getitem_by_path</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +select <dtml-if uid_only>uid<dtml-else>*</dtml-if> from catalog where <dtml-sqltest path op=eq type="string"> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +select <dtml-if uid_only>uid<dtml-else>*</dtml-if> from catalog where <dtml-sqltest path op=eq type="string"> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_uid.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_uid.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_uid.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_uid.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_uid.xml new file mode 100755 index 0000000000000000000000000000000000000000..96f100fc769585a5cb7b8828d75ba7a0ed614693 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_getitem_by_uid.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string>zsqlbrain.py</string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string>ZSQLBrain</string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_getitem_by_uid</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +select * from catalog where <dtml-sqltest uid op=eq type="int"> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +select * from catalog where <dtml-sqltest uid op=eq type="int"> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_produce_reserved_uid_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_produce_reserved_uid_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_produce_reserved_uid_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_produce_reserved_uid_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_produce_reserved_uid_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..5ceca951b751b6d4b82b7d7c093219876b98793c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_produce_reserved_uid_list.xml @@ -0,0 +1,212 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>count</string> </key> + <value> + <dictionary> + <item> + <key> <string>type</string> </key> + <value> <string>int</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>instance_id</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>count</string> +<string>instance_id</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>count:int\r\n +instance_id</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_produce_reserved_uid_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +INSERT INTO\n + catalog (id, path)\n +VALUES\n +<dtml-in "_.range(count - 1)">\n +( <dtml-sqlvar instance_id type="string"> , \'reserved\' ) ,\n +</dtml-in>\n +( <dtml-sqlvar instance_id type="string"> , \'reserved\' );\n +\n +<dtml-var "\'\\0\'">\n +\n +SELECT \n + uid\n +FROM \n + catalog \n +WHERE\n + path = \'reserved\'\n +AND\n + id = <dtml-sqlvar instance_id type="string">\n +LIMIT\n + 10000\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +INSERT INTO\n + catalog (id, path)\n +VALUES\n +<dtml-in "_.range(count - 1)">\n +( <dtml-sqlvar instance_id type="string"> , \'reserved\' ) ,\n +</dtml-in>\n +( <dtml-sqlvar instance_id type="string"> , \'reserved\' );\n +\n +<dtml-var "\'\\0\'">\n +\n +SELECT \n + uid\n +FROM \n + catalog \n +WHERE\n + path = \'reserved\'\n +AND\n + id = <dtml-sqlvar instance_id type="string">\n +LIMIT\n + 10000\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_read_recorded_object_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_read_recorded_object_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_read_recorded_object_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_read_recorded_object_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_read_recorded_object_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..7bbcf089af1e12e727f22f83ea820fcebe2d248c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_read_recorded_object_list.xml @@ -0,0 +1,177 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>catalog</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>catalog</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>catalog</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_read_recorded_object_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT\n + uid, path\n +FROM\n + record\n +WHERE\n + played = 0\n + AND catalog = <dtml-sqlvar catalog type="int"> \n +ORDER BY\n + date\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT\n + uid, path\n +FROM\n + record\n +WHERE\n + played = 0\n + AND catalog = <dtml-sqlvar catalog type="int"> \n +ORDER BY\n + date\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_record_object_list.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_record_object_list.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_record_object_list.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_record_object_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_record_object_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..d236573b49280eafcbb423c21865c36b83abc311 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_record_object_list.xml @@ -0,0 +1,191 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>catalog</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>path_list</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>path_list</string> +<string>catalog</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>path_list\n +catalog</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_record_object_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +INSERT INTO\n + record (path, catalog, played, date)\n +VALUES\n +<dtml-in path_list>\n +(\n + <dtml-sqlvar sequence-item type="string">,\n + <dtml-sqlvar catalog type="int">,\n + 0,\n + NOW()\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +INSERT INTO\n + record (path, catalog, played, date)\n +VALUES\n +<dtml-in path_list>\n +(\n + <dtml-sqlvar sequence-item type="string">,\n + <dtml-sqlvar catalog type="int">,\n + 0,\n + NOW()\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_base_category_id.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_base_category_id.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_base_category_id.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_base_category_id.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_base_category_id.xml new file mode 100755 index 0000000000000000000000000000000000000000..e6e1a8a05bbef669b9de171e4985501438355764 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_base_category_id.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\r\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_base_category_id</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.portal_type = \'Base Category\' AND\n +<dtml-var table_1>.uid = <dtml-var table_0>.base_category_uid AND\n +<dtml-var table_0>.category_strict_membership = 1 AND\n +<dtml-var table_0>.uid = catalog.uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.portal_type = \'Base Category\' AND\n +<dtml-var table_1>.uid = <dtml-var table_0>.base_category_uid AND\n +<dtml-var table_0>.category_strict_membership = 1 AND\n +<dtml-var table_0>.uid = catalog.uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_career_skill.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_career_skill.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_career_skill.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_career_skill.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_career_skill.xml new file mode 100755 index 0000000000000000000000000000000000000000..9d9d296101bd6d1a18ea979836ce05c477d3abf8 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_career_skill.xml @@ -0,0 +1,188 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_2</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> +<string>table_2</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1\n +table_2\n +</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_career_skill</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_2>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.skill.getUid()">\n +AND <dtml-var table_0>.uid = <dtml-var table_1>.uid\n +AND <dtml-var table_1>.parent_uid = catalog.uid\n +AND <dtml-var table_1>.portal_type = \'Career\'\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_2>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.skill.getUid()">\n +AND <dtml-var table_0>.uid = <dtml-var table_1>.uid\n +AND <dtml-var table_1>.parent_uid = catalog.uid\n +AND <dtml-var table_1>.portal_type = \'Career\'\n +\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination.xml new file mode 100755 index 0000000000000000000000000000000000000000..03be2493c21fdb863b60b2354647c940f743781a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_default_destination</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.destination.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.destination.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination_section.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination_section.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination_section.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination_section.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination_section.xml new file mode 100755 index 0000000000000000000000000000000000000000..128f5bc60e3386e00790da882d6dc1d9c90eb935 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_destination_section.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_default_destination_section</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.destination_section.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.destination_section.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source.xml new file mode 100755 index 0000000000000000000000000000000000000000..c84cd46bab290aec5c19b05956b82262667a8e7c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_default_source</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.source.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.source.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source_section.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source_section.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source_section.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source_section.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source_section.xml new file mode 100755 index 0000000000000000000000000000000000000000..c9273b9da5684ce7e6529d3d959e84c4b45b9f0b --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_default_source_section.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_default_source_section</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.source_section.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.source_section.getUid()">\n +AND <dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_explanation.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_explanation.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_explanation.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_explanation.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_explanation.xml new file mode 100755 index 0000000000000000000000000000000000000000..bbeb8755660d4fbe12e28b671717209a49432377 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_explanation.xml @@ -0,0 +1,171 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_explanation</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n + AND <dtml-var table_1>.uid = <dtml-var table_0>.explanation_uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n + AND <dtml-var table_1>.uid = <dtml-var table_0>.explanation_uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_grand_parent.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_grand_parent.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_grand_parent.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_grand_parent.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_grand_parent.xml new file mode 100755 index 0000000000000000000000000000000000000000..255d7fc0da7f0fef91611abaecca84f7250ccc96 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_grand_parent.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_grand_parent</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.parent_uid\n +AND <dtml-var table_1>.uid = <dtml-var table_0>.parent_uid\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.parent_uid\n +AND <dtml-var table_1>.uid = <dtml-var table_0>.parent_uid\n +\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_mirror_section_uid_from_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_mirror_section_uid_from_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_mirror_section_uid_from_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_mirror_section_uid_from_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_mirror_section_uid_from_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..5a66631a0e15f27e262bec9d11754b47aa60d39c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_mirror_section_uid_from_stock.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_mirror_section_uid_from_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.mirror_section_uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.mirror_section_uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_node_uid_from_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_node_uid_from_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_node_uid_from_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_node_uid_from_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_node_uid_from_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..1072c65673e5df66b71519e69a2dfde1a446ecc7 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_node_uid_from_stock.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_node_uid_from_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.node_uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.node_uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_parent_specialise.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_parent_specialise.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_parent_specialise.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_parent_specialise.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_parent_specialise.xml new file mode 100755 index 0000000000000000000000000000000000000000..2935e9b3b5dfded0dab7029b362a4a63b3ffd0a7 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_parent_specialise.xml @@ -0,0 +1,175 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_parent_specialise</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.specialise.getUid()">\n +AND <dtml-var table_0>.uid = catalog.parent_uid\n +\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.specialise.getUid()">\n +AND <dtml-var table_0>.uid = catalog.parent_uid\n +\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_payment_uid_from_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_payment_uid_from_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_payment_uid_from_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_payment_uid_from_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_payment_uid_from_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..f06ea8d1e2768819e687e716c83ac1dfc69cf58e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_payment_uid_from_stock.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_payment_uid_from_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.payment_uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.payment_uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_predicate.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_predicate.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_predicate.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_predicate.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_predicate.xml new file mode 100755 index 0000000000000000000000000000000000000000..0b7b861b907cf95d76944cecbc5c793d21642b17 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_predicate.xml @@ -0,0 +1,161 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_predicate</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource.xml new file mode 100755 index 0000000000000000000000000000000000000000..6f7ea1c3be56148ae48092ab880e8de547871009 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource.xml @@ -0,0 +1,171 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\r\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_resource</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n + AND <dtml-var table_1>.uid = <dtml-var table_0>.resource_uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n + AND <dtml-var table_1>.uid = <dtml-var table_0>.resource_uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource_uid_from_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource_uid_from_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource_uid_from_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource_uid_from_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource_uid_from_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..4b0bfd0bfb756ce1eca16ef432d837f6b072f4a9 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_resource_uid_from_stock.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_resource_uid_from_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.resource_uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.resource_uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_section_uid_from_stock.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_section_uid_from_stock.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_section_uid_from_stock.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_section_uid_from_stock.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_section_uid_from_stock.xml new file mode 100755 index 0000000000000000000000000000000000000000..deb907dd12f75e8ae3b16e9d129ca7537ec0a870 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_section_uid_from_stock.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_section_uid_from_stock</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.section_uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = stock.section_uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_security.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_security.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_security.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_security.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_security.xml new file mode 100755 index 0000000000000000000000000000000000000000..9905532a5e681c9b4fe1f51f1ba8b12b142a085a --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_security.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_security</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.security_uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.security_uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_subordination.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_subordination.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_subordination.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_subordination.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_subordination.xml new file mode 100755 index 0000000000000000000000000000000000000000..64ca68b1990ba6f7e80addfeea921731dc5d12dc --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_subordination.xml @@ -0,0 +1,173 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_subordination</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-sqlvar expr="portal_categories.subordination.getUid()" type="int">\n +AND <dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid\n +AND <dtml-var table_0>.base_category_uid = <dtml-sqlvar expr="portal_categories.subordination.getUid()" type="int">\n +AND <dtml-var table_1>.uid = <dtml-var table_0>.category_uid\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_opportunity_state.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_opportunity_state.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_opportunity_state.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_opportunity_state.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_opportunity_state.xml new file mode 100755 index 0000000000000000000000000000000000000000..33c05eb2e88fa078c8e4cd7b4d1bea438a85de4e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_opportunity_state.xml @@ -0,0 +1,165 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_translated_opportunity_state</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.opportunity_state\n + AND <dtml-var table_0>.message_context = "opportunity_state_title"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.opportunity_state\n + AND <dtml-var table_0>.message_context = "opportunity_state_title"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string">\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_portal_type.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_portal_type.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_portal_type.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_portal_type.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_portal_type.xml new file mode 100755 index 0000000000000000000000000000000000000000..36f52404141b43ff7b97724e230254aa76894651 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_portal_type.xml @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_translated_portal_type</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.portal_type\n + AND <dtml-var table_0>.message_context = "portal_type"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.portal_type\n + AND <dtml-var table_0>.message_context = "portal_type"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state.xml new file mode 100755 index 0000000000000000000000000000000000000000..5e944358dbe6d1cf9004aa6c530ffdd33e29fa37 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state.xml @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_translated_simulation_state</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.simulation_state\n + AND <dtml-var table_0>.message_context = "simulation_state"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.simulation_state\n + AND <dtml-var table_0>.message_context = "simulation_state"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state_title.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state_title.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state_title.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state_title.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state_title.xml new file mode 100755 index 0000000000000000000000000000000000000000..01f4c110fbdc720b19453ca9dd53f035dfa715b0 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_simulation_state_title.xml @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_translated_simulation_state_title</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.simulation_state\n + AND <dtml-var table_0>.message_context = "simulation_state_title"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.simulation_state\n + AND <dtml-var table_0>.message_context = "simulation_state_title"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_validation_state.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_validation_state.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_validation_state.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_validation_state.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_validation_state.xml new file mode 100755 index 0000000000000000000000000000000000000000..68a1f7071b30ebe1d0a3345e6504eb676e55ae35 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_translated_validation_state.xml @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_translated_validation_state</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.validation_state\n + AND <dtml-var table_0>.message_context = "validation_state"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.original_message = catalog.validation_state\n + AND <dtml-var table_0>.message_context = "validation_state"\n + AND <dtml-var table_0>.language = <dtml-sqlvar "Localizer.get_selected_language()" type="string"> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid.xml new file mode 100755 index 0000000000000000000000000000000000000000..25f9808905166d3e96c7d718094aba6a0d80d565 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_uid</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-var table_0>.uid = catalog.uid + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid_or_parent_uid.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid_or_parent_uid.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid_or_parent_uid.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid_or_parent_uid.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid_or_parent_uid.xml new file mode 100755 index 0000000000000000000000000000000000000000..55e0d5c9a73d685e248fc4f32226880cbc349e52 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_related_uid_or_parent_uid.xml @@ -0,0 +1,185 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table_0</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>table_1</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table_0</string> +<string>table_1</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table_0\r\n +table_1</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_related_uid_or_parent_uid</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +((<dtml-var table_0>.is_accountable = 0\n +AND <dtml-var table_0>.uid = catalog.parent_uid\n +AND <dtml-var table_0>.uid = <dtml-var table_1>.uid)\n +\n +OR\n +\n +(<dtml-var table_0>.is_accountable = 1\n +AND <dtml-var table_0>.uid = catalog.uid\n +AND <dtml-var table_0>.uid = <dtml-var table_1>.uid))\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +((<dtml-var table_0>.is_accountable = 0\n +AND <dtml-var table_0>.uid = catalog.parent_uid\n +AND <dtml-var table_0>.uid = <dtml-var table_1>.uid)\n +\n +OR\n +\n +(<dtml-var table_0>.is_accountable = 1\n +AND <dtml-var table_0>.uid = catalog.uid\n +AND <dtml-var table_0>.uid = <dtml-var table_1>.uid))\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_reserve_uid.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_reserve_uid.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_reserve_uid.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_reserve_uid.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_reserve_uid.xml new file mode 100755 index 0000000000000000000000000000000000000000..9076ec50cc934d03f2cd4097d13b9b06183e5096 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_reserve_uid.xml @@ -0,0 +1,176 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary> + <item> + <key> <string>type</string> </key> + <value> <string>list</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid:list</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_reserve_uid</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + catalog (uid, id, path)\n +VALUES\n +<dtml-in uid>\n + (<dtml-sqlvar sequence-item type="int">, \'used\', \'reserved\')\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +REPLACE INTO\n + catalog (uid, id, path)\n +VALUES\n +<dtml-in uid>\n + (<dtml-sqlvar sequence-item type="int">, \'used\', \'reserved\')\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n +</dtml-in> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_folder.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_folder.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_folder.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_folder.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_folder.xml new file mode 100755 index 0000000000000000000000000000000000000000..068dd3f845a50c1b7a98eb3ac93a6e32c172bca8 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_folder.xml @@ -0,0 +1,199 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>parent_uid</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>query</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>sort_on</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>sort_on</string> +<string>query</string> +<string>parent_uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>sort_on\r\n +query\r\n +parent_uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>10</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string>zsqlbrain.py</string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string>ZSQLBrain</string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_search_folder</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-if sort_on>\n +<dtml-if query>\n +SELECT DISTINCT catalog.* FROM catalog, category, roles_and_users WHERE catalog.uid=category.uid AND catalog.uid=roles_and_users.uid AND <dtml-var query> AND <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int> ORDER BY <dtml-var sort_on>\n +<dtml-else>\n +SELECT * FROM catalog WHERE <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int> ORDER BY <dtml-var sort_on>\n +</dtml-if>\n +<dtml-else>\n +<dtml-if query>\n +SELECT DISTINCT catalog.* FROM catalog, category, roles_and_users WHERE <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int> AND catalog.uid=category.uid AND catalog.uid=roles_and_users.uid AND <dtml-var query>\n +<dtml-else>\n +SELECT * FROM catalog WHERE <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int>\n +</dtml-if>\n +</dtml-if> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-if sort_on>\n +<dtml-if query>\n +SELECT DISTINCT catalog.* FROM catalog, category, roles_and_users WHERE catalog.uid=category.uid AND catalog.uid=roles_and_users.uid AND <dtml-var query> AND <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int> ORDER BY <dtml-var sort_on>\n +<dtml-else>\n +SELECT * FROM catalog WHERE <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int> ORDER BY <dtml-var sort_on>\n +</dtml-if>\n +<dtml-else>\n +<dtml-if query>\n +SELECT DISTINCT catalog.* FROM catalog, category, roles_and_users WHERE <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int> AND catalog.uid=category.uid AND catalog.uid=roles_and_users.uid AND <dtml-var query>\n +<dtml-else>\n +SELECT * FROM catalog WHERE <dtml-sqltest parent_uid op=eq column=catalog.parent_uid type=int>\n +</dtml-if>\n +</dtml-if> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_results.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_results.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_results.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_results.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_results.xml new file mode 100755 index 0000000000000000000000000000000000000000..3fcfa503154cd52701b277d3ddaf7d22d930fc7b --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_search_results.xml @@ -0,0 +1,300 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>from_table_list</string> </key> + <value> + <dictionary> + <item> + <key> <string>type</string> </key> + <value> <string>list</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>limit_expression</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>select_expression</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>selection</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>selection_domain</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>selection_report</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>sort_on</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>where_expression</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>selection</string> +<string>selection_domain</string> +<string>selection_report</string> +<string>where_expression</string> +<string>select_expression</string> +<string>from_table_list</string> +<string>sort_on</string> +<string>limit_expression</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>selection\r\n +selection_domain\r\n +selection_report\r\n +where_expression\r\n +select_expression\r\n +from_table_list:list\r\n +sort_on\r\n +limit_expression</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string>zsqlbrain.py</string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string>ZSQLBrain</string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_search_results</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT DISTINCT\n + <dtml-in getCatalogSearchResultKeys> <dtml-var sequence-item><dtml-if sequence-end> <dtml-else>, </dtml-if> </dtml-in>\n +\n +FROM\n + <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n + <dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n + <dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n +\n +WHERE \n + 1 = 1 \n +<dtml-if where_expression>\n + AND <dtml-var where_expression>\n +</dtml-if>\n +<dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlExpression()">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlExpression(strict_membership=1)">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if sort_on>\n +ORDER BY\n + <dtml-var sort_on>\n +</dtml-if>\n +<dtml-if limit_expression>\n +LIMIT <dtml-var "limit_expression">\n +<dtml-else>\n +LIMIT 1000\n +</dtml-if>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT DISTINCT\n + <dtml-in getCatalogSearchResultKeys> <dtml-var sequence-item><dtml-if sequence-end> <dtml-else>, </dtml-if> </dtml-in>\n +\n +FROM\n + <dtml-in from_table_list> <dtml-var sequence-item> AS <dtml-var sequence-key><dtml-if sequence-end><dtml-else>,</dtml-if></dtml-in>\n + <dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n + <dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlJoinExpression()">\n + <dtml-if expression> , <dtml-var expression> </dtml-if>\n + </dtml-let>\n + </dtml-if>\n +\n +WHERE \n + 1 = 1 \n +<dtml-if where_expression>\n + AND <dtml-var where_expression>\n +</dtml-if>\n +<dtml-if selection_domain>\n + <dtml-let expression="selection_domain.asSqlExpression()">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if selection_report>\n + <dtml-let expression="selection_report.asSqlExpression(strict_membership=1)">\n + <dtml-if expression> AND <dtml-var expression> </dtml-if>\n + </dtml-let>\n +</dtml-if>\n +<dtml-if sort_on>\n +ORDER BY\n + <dtml-var sort_on>\n +</dtml-if>\n +<dtml-if limit_expression>\n +LIMIT <dtml-var "limit_expression">\n +<dtml-else>\n +LIMIT 1000\n +</dtml-if>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_category_columns.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_category_columns.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_category_columns.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_category_columns.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_category_columns.xml new file mode 100755 index 0000000000000000000000000000000000000000..e0e019ec6910a3a214bd649d675924358afc0f3c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_category_columns.xml @@ -0,0 +1,142 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_show_category_columns</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>show columns from category</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>show columns from category</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_columns.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_columns.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_columns.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_columns.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_columns.xml new file mode 100755 index 0000000000000000000000000000000000000000..52f320b8ec6d3fa1072eab2a6718008b8a170285 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_columns.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_show_columns</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +show columns from <dtml-var table> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +show columns from <dtml-var table> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_tables.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_tables.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_tables.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_tables.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_tables.xml new file mode 100755 index 0000000000000000000000000000000000000000..51bf8c84a2685794566396709a28db4b4edf065e --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_show_tables.xml @@ -0,0 +1,153 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>table</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>table</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>table</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_show_tables</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>show tables\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>show tables\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_delivery.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_delivery.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_delivery.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_delivery.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_delivery.xml new file mode 100755 index 0000000000000000000000000000000000000000..4ece644cc6af5a30451879f0b04ebf808c13bd0c --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_delivery.xml @@ -0,0 +1,161 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_uncatalog_delivery</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM delivery WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM delivery WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_object.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_object.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..69006ca8d2cf37eb3049266226899de734ac4463 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_object.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>1</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_object.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_object.xml new file mode 100755 index 0000000000000000000000000000000000000000..24404ffd3ddb7abbdbc45effd5236d1d62ed4be8 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_uncatalog_object.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_uncatalog_object</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM catalog WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM catalog WHERE <dtml-sqltest uid op=eq type=int> + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_unique_values.catalog_keys.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_unique_values.catalog_keys.xml new file mode 100755 index 0000000000000000000000000000000000000000..5c39c42c6e3e7048cd3a045aa8fc564bd855fc0d --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_unique_values.catalog_keys.xml @@ -0,0 +1,14 @@ +<catalog_method> + <item key="_is_catalog_list_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_uncatalog_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_clear_method_archive" type="int"> + <value>0</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>0</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_unique_values.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_unique_values.xml new file mode 100755 index 0000000000000000000000000000000000000000..6e309f44b64db896510fd95f67e038d0a3cc2213 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_unique_values.xml @@ -0,0 +1,159 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLMethods.SQL</string> + <string>SQL</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>column</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>column</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>column</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </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_unique_values</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT DISTINCT <dtml-var column> FROM catalog + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </klass> + <none/> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +SELECT DISTINCT <dtml-var column> FROM catalog + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/CatalogRelatedKeyTemplateItem/related_key_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogRelatedKeyTemplateItem/related_key_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..af3f375868408f7d12510b936da8fe063bd70d88 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogRelatedKeyTemplateItem/related_key_list.xml @@ -0,0 +1,46 @@ +<key_list> + <key>allowedRolesAndUsers | roles_and_users/allowedRolesAndUsers/z_related_security</key> + <key>base_category_id | category,catalog/id/z_related_base_category_id</key> + <key>career_skill_id | category,catalog,catalog/id/z_related_career_skill</key> + <key>career_skill_title | category,catalog,catalog/title/z_related_career_skill</key> + <key>default_destination_id | category,catalog/id/z_related_default_destination</key> + <key>default_destination_section_id | category,catalog/id/z_related_default_destination_section</key> + <key>default_destination_section_title | category,catalog/title/z_related_default_destination_section</key> + <key>default_destination_title | category,catalog/title/z_related_default_destination</key> + <key>default_source_id | category,catalog/id/z_related_default_source</key> + <key>default_source_section_id | category,catalog/id/z_related_default_source_section</key> + <key>default_source_section_title | category,catalog/title/z_related_default_source_section</key> + <key>default_source_title | category,catalog/title/z_related_default_source</key> + <key>deliveryLineType | movement,catalog/portal_type/z_related_uid_or_parent_uid</key> + <key>destination_id | category,catalog/id/z_related_default_destination</key> + <key>destination_section_id | category,catalog/id/z_related_default_destination_section</key> + <key>destination_section_title | category,catalog/title/z_related_default_destination_section</key> + <key>destination_title | category,catalog/title/z_related_default_destination</key> + <key>explanation_portal_type | movement,catalog/portal_type/z_related_explanation</key> + <key>grand_parent_portal_type | catalog,catalog/portal_type/z_related_grand_parent</key> + <key>grand_parent_simulation_state | catalog,catalog/simulation_state/z_related_grand_parent</key> + <key>item_node_category_uid | category/category_uid/z_related_node_uid_from_item</key> + <key>item_resource_category_uid | category/category_uid/z_related_resource_uid_from_item</key> + <key>item_section_category_uid | category/category_uid/z_related_section_uid_from_item</key> + <key>parent_specialise_portal_type | category,catalog/portal_type/z_related_parent_specialise</key> + <key>predicate_uid | predicate/uid/z_related_predicate</key> + <key>resourceType | movement,catalog/portal_type/z_related_resource</key> + <key>source_id | category,catalog/id/z_related_default_source</key> + <key>source_section_id | category,catalog/id/z_related_default_source_section</key> + <key>source_section_title | category,catalog/title/z_related_default_source_section</key> + <key>source_title | category,catalog/title/z_related_default_source</key> + <key>stock_mirror_section_category_uid | category/category_uid/z_related_mirror_section_uid_from_stock</key> + <key>stock_node_category_uid | category/category_uid/z_related_node_uid_from_stock</key> + <key>stock_payment_category_uid | category/category_uid/z_related_payment_uid_from_stock</key> + <key>stock_resource_category_uid | category/category_uid/z_related_resource_uid_from_stock</key> + <key>stock_section_category_uid | category/category_uid/z_related_section_uid_from_stock</key> + <key>subordination_title | category,catalog/title/z_related_subordination</key> + <key>translated_opportunity_state | translation/translated_message/z_related_translated_opportunity_state</key> + <key>translated_opportunity_state_title | translation/translated_message/z_related_translated_opportunity_state</key> + <key>translated_portal_type | translation/translated_message/z_related_translated_portal_type</key> + <key>translated_simulation_state | translation/translated_message/z_related_translated_simulation_state_title</key> + <key>translated_simulation_state_title | translation/translated_message/z_related_translated_simulation_state</key> + <key>translated_validation_state | translation/translated_message/z_related_translated_validation_state</key> + <key>translated_validation_state_title | translation/translated_message/z_related_translated_validation_state</key> + <key>variationCategory | category/category_uid/z_related_uid</key> +</key_list> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/CatalogResultKeyTemplateItem/result_key_list.xml b/product/ERP5/bootstrap/erp5_core/CatalogResultKeyTemplateItem/result_key_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..15b2e5911f077780faea5ac2caa5afacb10fc321 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/CatalogResultKeyTemplateItem/result_key_list.xml @@ -0,0 +1,4 @@ +<key_list> + <key>catalog.path</key> + <key>catalog.uid</key> +</key_list> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/LocalRolesTemplateItem/.xml b/product/ERP5/bootstrap/erp5_core/LocalRolesTemplateItem/.xml new file mode 100755 index 0000000000000000000000000000000000000000..41adef48ce85b0de10ff4a8a51a096290385675f --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/LocalRolesTemplateItem/.xml @@ -0,0 +1,9 @@ +<local_roles_item> + <local_roles> + <role id='seb'> + <item>Owner</item> + </role> + </local_roles> + <group_local_roles> + </group_local_roles> +</local_roles_item> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_catalog/erp5_mysql.xml b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_catalog/erp5_mysql.xml new file mode 100755 index 0000000000000000000000000000000000000000..952326a0e1e1eeedc7206efca71938ed9579c6e1 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PathTemplateItem/portal_catalog/erp5_mysql.xml @@ -0,0 +1,866 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.ZSQLCatalog.SQLCatalog</string> + <string>Catalog</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>_owner</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>filter_dict</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_mysql</string> </value> + </item> + <item> + <key> <string>indexes</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>names</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>schema</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>sql_catalog_clear_reserved</string> </key> + <value> <unicode>z_clear_reserved</unicode> </value> + </item> + <item> + <key> <string>sql_catalog_full_text_search_keys</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>sql_catalog_keyword_search_keys</string> </key> + <value> + <tuple> + <unicode>catalog.description</unicode> + <unicode>catalog.title</unicode> + <unicode>description</unicode> + <unicode>title</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_catalog_multivalue_keys</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>sql_catalog_object_list</string> </key> + <value> + <tuple> + <unicode>z_catalog_delivery_list</unicode> + <unicode>z_catalog_item_list</unicode> + <unicode>z_catalog_movement_category_list</unicode> + <unicode>z_catalog_movement_list</unicode> + <unicode>z_catalog_non_movement_category_list</unicode> + <unicode>z_catalog_object_list</unicode> + <unicode>z_catalog_predicate_category_list</unicode> + <unicode>z_catalog_predicate_list</unicode> + <unicode>z_catalog_roles_and_users_list</unicode> + <unicode>z_catalog_stock_list</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_catalog_paths</string> </key> + <value> <unicode>z_catalog_paths</unicode> </value> + </item> + <item> + <key> <string>sql_catalog_produce_reserved</string> </key> + <value> <unicode>z_produce_reserved_uid_list</unicode> </value> + </item> + <item> + <key> <string>sql_catalog_related_keys</string> </key> + <value> + <tuple> + <unicode>allowedRolesAndUsers | roles_and_users/allowedRolesAndUsers/z_related_security</unicode> + <unicode>base_category_id | category,catalog/id/z_related_base_category_id</unicode> + <unicode>deliveryLineType | movement,catalog/portal_type/z_related_uid_or_parent_uid</unicode> + <unicode>destination_section_id | category,catalog/id/z_related_default_destination_section</unicode> + <unicode>default_destination_section_id | category,catalog/id/z_related_default_destination_section</unicode> + <unicode>source_id | category,catalog/id/z_related_default_source</unicode> + <unicode>default_source_id | category,catalog/id/z_related_default_source</unicode> + <unicode>destination_id | category,catalog/id/z_related_default_destination</unicode> + <unicode>default_destination_id | category,catalog/id/z_related_default_destination</unicode> + <unicode>source_section_id | category,catalog/id/z_related_default_source_section</unicode> + <unicode>default_source_section_id | category,catalog/id/z_related_default_source_section</unicode> + <unicode>destination_section_title | category,catalog/title/z_related_default_destination_section</unicode> + <unicode>default_destination_section_title | category,catalog/title/z_related_default_destination_section</unicode> + <unicode>source_title | category,catalog/title/z_related_default_source</unicode> + <unicode>default_source_title | category,catalog/title/z_related_default_source</unicode> + <unicode>destination_title | category,catalog/title/z_related_default_destination</unicode> + <unicode>default_destination_title | category,catalog/title/z_related_default_destination</unicode> + <unicode>source_section_title | category,catalog/title/z_related_default_source_section</unicode> + <unicode>default_source_section_title | category,catalog/title/z_related_default_source_section</unicode> + <unicode>explanation_portal_type | movement,catalog/portal_type/z_related_explanation</unicode> + <unicode>predicate_uid | predicate/uid/z_related_predicate</unicode> + <unicode>resourceType | movement,catalog/portal_type/z_related_resource</unicode> + <unicode>stock_mirror_section_category_uid | category/category_uid/z_related_mirror_section_uid_from_stock</unicode> + <unicode>stock_node_category_uid | category/category_uid/z_related_node_uid_from_stock</unicode> + <unicode>stock_payment_category_uid | category/category_uid/z_related_payment_uid_from_stock</unicode> + <unicode>stock_resource_category_uid | category/category_uid/z_related_resource_uid_from_stock</unicode> + <unicode>stock_section_category_uid | category/category_uid/z_related_section_uid_from_stock</unicode> + <unicode>subordination_title | category,catalog/title/z_related_subordination</unicode> + <unicode>translated_portal_type | translation/translated_message/z_related_translated_portal_type</unicode> + <unicode>translated_simulation_state | translation/translated_message/z_related_translated_simulation_state_title</unicode> + <unicode>translated_simulation_state_title | translation/translated_message/z_related_translated_simulation_state</unicode> + <unicode>variationCategory | category/category_uid/z_related_uid</unicode> + <unicode>parent_specialise_portal_type | category,catalog/portal_type/z_related_parent_specialise</unicode> + <unicode>grand_parent_portal_type | catalog,catalog/portal_type/z_related_grand_parent</unicode> + <unicode>grand_parent_simulation_state | catalog,catalog/simulation_state/z_related_grand_parent</unicode> + <unicode>career_skill_title | category,catalog,catalog/title/z_related_career_skill</unicode> + <unicode>career_skill_id | category,catalog,catalog/id/z_related_career_skill</unicode> + <unicode>translated_validation_state | translation/translated_message/z_related_translated_validation_state</unicode> + <unicode>translated_validation_state_title | translation/translated_message/z_related_translated_validation_state</unicode> + <unicode>translated_opportunity_state | translation/translated_message/z_related_translated_opportunity_state</unicode> + <unicode>translated_opportunity_state_title | translation/translated_message/z_related_translated_opportunity_state</unicode> + <unicode>item_resource_category_uid | category/category_uid/z_related_resource_uid_from_item</unicode> + <unicode>item_section_category_uid | category/category_uid/z_related_section_uid_from_item</unicode> + <unicode>item_node_category_uid | category/category_uid/z_related_node_uid_from_item</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_catalog_request_keys</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>sql_catalog_reserve_uid</string> </key> + <value> <unicode>z_reserve_uid</unicode> </value> + </item> + <item> + <key> <string>sql_catalog_schema</string> </key> + <value> <unicode>z_show_columns</unicode> </value> + </item> + <item> + <key> <string>sql_catalog_tables</string> </key> + <value> <unicode>z_show_tables</unicode> </value> + </item> + <item> + <key> <string>sql_catalog_topic_search_keys</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>sql_catalog_translation_list</string> </key> + <value> <unicode>z_catalog_translation_list</unicode> </value> + </item> + <item> + <key> <string>sql_clear_catalog</string> </key> + <value> + <tuple> + <unicode>z0_drop_catalog</unicode> + <unicode>z0_drop_category</unicode> + <unicode>z0_drop_compatibility</unicode> + <unicode>z0_drop_delivery</unicode> + <unicode>z0_drop_item</unicode> + <unicode>z0_drop_movement</unicode> + <unicode>z0_drop_predicate</unicode> + <unicode>z0_drop_predicate_category</unicode> + <unicode>z0_drop_record</unicode> + <unicode>z0_drop_roles_and_users</unicode> + <unicode>z0_drop_stock</unicode> + <unicode>z0_drop_subject</unicode> + <unicode>z0_drop_translation</unicode> + <unicode>z_create_catalog</unicode> + <unicode>z_create_category</unicode> + <unicode>z_create_compatibility</unicode> + <unicode>z_create_delivery</unicode> + <unicode>z_create_item</unicode> + <unicode>z_create_movement</unicode> + <unicode>z_create_predicate</unicode> + <unicode>z_create_predicate_category</unicode> + <unicode>z_create_record</unicode> + <unicode>z_create_roles_and_users</unicode> + <unicode>z_create_stock</unicode> + <unicode>z_create_subject</unicode> + <unicode>z_create_translation</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_count_results</string> </key> + <value> <unicode>z_count_results</unicode> </value> + </item> + <item> + <key> <string>sql_delete_recorded_object_list</string> </key> + <value> <unicode>z_delete_recorded_object_list</unicode> </value> + </item> + <item> + <key> <string>sql_delete_translation_list</string> </key> + <value> <unicode>z_delete_translation_list</unicode> </value> + </item> + <item> + <key> <string>sql_getitem_by_path</string> </key> + <value> <unicode>z_getitem_by_path</unicode> </value> + </item> + <item> + <key> <string>sql_getitem_by_uid</string> </key> + <value> <unicode>z_getitem_by_uid</unicode> </value> + </item> + <item> + <key> <string>sql_read_recorded_object_list</string> </key> + <value> <unicode>z_read_recorded_object_list</unicode> </value> + </item> + <item> + <key> <string>sql_record_object_list</string> </key> + <value> <unicode>z_record_object_list</unicode> </value> + </item> + <item> + <key> <string>sql_search_result_keys</string> </key> + <value> + <tuple> + <unicode>catalog.path</unicode> + <unicode>catalog.uid</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_search_results</string> </key> + <value> <unicode>z_search_results</unicode> </value> + </item> + <item> + <key> <string>sql_search_tables</string> </key> + <value> + <tuple> + <unicode>catalog</unicode> + <unicode>category</unicode> + <unicode>delivery</unicode> + <unicode>movement</unicode> + <unicode>predicate</unicode> + <unicode>predicate_category</unicode> + <unicode>roles_and_users</unicode> + <unicode>stock</unicode> + <unicode>item</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_uncatalog_object</string> </key> + <value> + <tuple> + <unicode>z0_uncatalog_category</unicode> + <unicode>z0_uncatalog_item</unicode> + <unicode>z0_uncatalog_movement</unicode> + <unicode>z0_uncatalog_predicate</unicode> + <unicode>z0_uncatalog_predicate_category</unicode> + <unicode>z0_uncatalog_stock</unicode> + <unicode>z_uncatalog_delivery</unicode> + <unicode>z_uncatalog_object</unicode> + </tuple> + </value> + </item> + <item> + <key> <string>sql_unique_values</string> </key> + <value> <unicode>z_unique_values</unicode> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <unicode>ERP5/MySQL</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <unicode>z_catalog_delivery_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_item_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_movement_category_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_movement_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_non_movement_category_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_predicate_category_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_predicate_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + <item> + <key> <unicode>z_catalog_stock_list</unicode> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAo=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isDelivery</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAs=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="4" aka="AAAAAAAAAAQ="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAw=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="5" aka="AAAAAAAAAAU="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAA0=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAA4=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: not isMovement</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAA8=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isPredicate</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAABA=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isPredicate</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAABE=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="10" aka="AAAAAAAAAAo="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>expression</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + <item> + <key> <string>expression_instance</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAABI=</string> </persistent> + </value> + </item> + <item> + <key> <string>filtered</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="11" aka="AAAAAAAAAAs="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isDelivery</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="12" aka="AAAAAAAAAAw="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="13" aka="AAAAAAAAAA0="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="14" aka="AAAAAAAAAA4="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="15" aka="AAAAAAAAAA8="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: not isMovement</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="16" aka="AAAAAAAAABA="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isPredicate</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="17" aka="AAAAAAAAABE="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isPredicate</unicode> </value> + </item> + </dictionary> + </pickle> + </record> + <record id="18" aka="AAAAAAAAABI="> + <pickle> + <tuple> + <tuple> + <string>Products.CMFCore.Expression</string> + <string>Expression</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <unicode>python: isMovement</unicode> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/PortalTypeRolesTemplateItem/.xml b/product/ERP5/bootstrap/erp5_core/PortalTypeRolesTemplateItem/.xml new file mode 100755 index 0000000000000000000000000000000000000000..600ebe860dd0f884a53c0e7a8e5bb4f3e5abf22f --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/PortalTypeRolesTemplateItem/.xml @@ -0,0 +1,2 @@ +<type_roles> +</type_roles> \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog.xml index 8a3f333e9532ddeae023e492dc50ad8af44df923..24ba2b5d9d57888444ff2f628975feaa85b968e6 100755 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog.xml @@ -99,7 +99,7 @@ <string>my_template_catalog_method_id_list</string> <string>my_template_catalog_result_table_list</string> <string>my_template_catalog_result_key_list</string> - <string>my_template_catalog_keyword_key</string> + <string>my_template_catalog_keyword_key_list</string> </list> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog/my_template_catalog_keyword_key_list.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog/my_template_catalog_keyword_key_list.xml new file mode 100755 index 0000000000000000000000000000000000000000..e3b1b9247aa7f8a8b8f1d61993112b2acb961fa3 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BusinessTemplate_viewCatalog/my_template_catalog_keyword_key_list.xml @@ -0,0 +1,303 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.Formulator.StandardFields</string> + <string>LinesField</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>my_template_catalog_keyword_key_list</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + <item> + <key> <string>line_too_long</string> </key> + <value> <string>A line was too long.</string> </value> + </item> + <item> + <key> <string>required_not_found</string> </key> + <value> <string>Input is required but no input given.</string> </value> + </item> + <item> + <key> <string>too_long</string> </key> + <value> <string>You entered too many characters.</string> </value> + </item> + <item> + <key> <string>too_many_lines</string> </key> + <value> <string>You entered too many lines.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>view_separator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>view_separator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>alternate_name</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>css_class</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>default</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>editable</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>enabled</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>external_validator</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>extra</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>height</string> </key> + <value> <int>5</int> </value> + </item> + <item> + <key> <string>hidden</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>max_length</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_linelength</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>max_lines</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>required</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Keyword Keys</string> </value> + </item> + <item> + <key> <string>unicode</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>view_separator</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<br />\n + + +]]></string> </value> + </item> + <item> + <key> <string>whitespace_preserve</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>width</string> </key> + <value> <int>40</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_exportAll.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_exportAll.xml new file mode 100755 index 0000000000000000000000000000000000000000..e9bb1f018982481c15b8e83e251c6f6a3f4c17b6 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_exportAll.xml @@ -0,0 +1,153 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <tuple> + <string>Products.PythonScripts.PythonScript</string> + <string>PythonScript</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Python_magic</string> </key> + <value> <string encoding="base64">O/INCg==</string> </value> + </item> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>for folder in context.objectValues(("ERP5 Folder",)):\n + print "#### Exporting the folder %s ####" % folder.id\n + folder.exportAll(dir=\'/var/lib/zope/\')\n +\n +print "#### Exporting the folder %s ####" % \'portal_catalog\'\n +context.manage_exportObject(id=\'portal_catalog\')\n +\n +print "#### Exporting the folder %s ####" % \'portal_categories\'\n +context.manage_exportObject(id=\'portal_categories\')\n +\n +print "#### Exporting the folder %s ####" % \'portal_types\'\n +context.manage_exportObject(id=\'portal_types\')\n +\n +print "work done"\n +return printed\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_filepath</string> </key> + <value> <string>Script (Python):/nexedi/portal_skins/local_erp5/ERP5Site_exportAll</string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_print_</string> + <string>_print</string> + <string>_getiter_</string> + <string>_getattr_</string> +<string>context</string> + <string>folder</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>ERP5Site_exportAll</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/product/ERP5/bootstrap/erp5_core/bt/change_log b/product/ERP5/bootstrap/erp5_core/bt/change_log index 8887bbdde42cfe3a19f627763217c5bce4ca0584..ecfd43d78f65e7b8e34415683674cc27c3b27f2c 100755 --- a/product/ERP5/bootstrap/erp5_core/bt/change_log +++ b/product/ERP5/bootstrap/erp5_core/bt/change_log @@ -1,3 +1,6 @@ +2006-03-21 Seb +* moved catalog methods here + 2006-03-13 Aurel * modify Base_getWorkflowHistoryItemList and Workflow_statusModify in order to take Message class into account diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..7d8f7c94cf3ce87f0b7fc66beb0c914392c594e8 100755 --- a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_keyword_key_list @@ -0,0 +1,4 @@ +catalog.description +catalog.title +description +title \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_method_id_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_method_id_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..caab5718d92887692bfd8e5763b0b6343e406830 100755 --- a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_method_id_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_method_id_list @@ -0,0 +1,21 @@ +erp5_mysql/z0_drop_catalog +erp5_mysql/z0_drop_category +erp5_mysql/z0_drop_compatibility +erp5_mysql/z0_drop_delivery +erp5_mysql/z0_drop_item +erp5_mysql/z0_drop_movement +erp5_mysql/z0_drop_predicate +erp5_mysql/z0_drop_predicate_category +erp5_mysql/z0_drop_record +erp5_mysql/z0_drop_roles_and_users +erp5_mysql/z0_drop_stock +erp5_mysql/z0_drop_subject +erp5_mysql/z0_drop_translation +erp5_mysql/z0_uncatalog_category +erp5_mysql/z0_uncatalog_compatibility +erp5_mysql/z0_uncatalog_item +erp5_mysql/z0_uncatalog_movement +erp5_mysql/z0_uncatalog_predicate +erp5_mysql/z0_uncatalog_predicate_category +erp5_mysql/z0_uncatalog_stock +erp5_mysql/z0_uncatalog_subject \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_related_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_related_key_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2c0044f71cea7e21825995198b95dcefdf3fe4b5 100755 --- a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_related_key_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_related_key_list @@ -0,0 +1,44 @@ +default_destination_section_title | category,catalog/title/z_related_default_destination_section +default_source_id | category,catalog/id/z_related_default_source +predicate_uid | predicate/uid/z_related_predicate +translated_opportunity_state_title | translation/translated_message/z_related_translated_opportunity_state +default_source_section_id | category,catalog/id/z_related_default_source_section +career_skill_title | category,catalog,catalog/title/z_related_career_skill +grand_parent_portal_type | catalog,catalog/portal_type/z_related_grand_parent +source_section_title | category,catalog/title/z_related_default_source_section +item_resource_category_uid | category/category_uid/z_related_resource_uid_from_item +stock_payment_category_uid | category/category_uid/z_related_payment_uid_from_stock +source_section_id | category,catalog/id/z_related_default_source_section +explanation_portal_type | movement,catalog/portal_type/z_related_explanation +destination_title | category,catalog/title/z_related_default_destination +default_destination_id | category,catalog/id/z_related_default_destination +source_id | category,catalog/id/z_related_default_source +stock_node_category_uid | category/category_uid/z_related_node_uid_from_stock +translated_portal_type | translation/translated_message/z_related_translated_portal_type +default_source_title | category,catalog/title/z_related_default_source +parent_specialise_portal_type | category,catalog/portal_type/z_related_parent_specialise +translated_simulation_state | translation/translated_message/z_related_translated_simulation_state_title +translated_opportunity_state | translation/translated_message/z_related_translated_opportunity_state +career_skill_id | category,catalog,catalog/id/z_related_career_skill +item_node_category_uid | category/category_uid/z_related_node_uid_from_item +stock_section_category_uid | category/category_uid/z_related_section_uid_from_stock +translated_validation_state_title | translation/translated_message/z_related_translated_validation_state +allowedRolesAndUsers | roles_and_users/allowedRolesAndUsers/z_related_security +stock_resource_category_uid | category/category_uid/z_related_resource_uid_from_stock +base_category_id | category,catalog/id/z_related_base_category_id +destination_id | category,catalog/id/z_related_default_destination +grand_parent_simulation_state | catalog,catalog/simulation_state/z_related_grand_parent +stock_mirror_section_category_uid | category/category_uid/z_related_mirror_section_uid_from_stock +destination_section_title | category,catalog/title/z_related_default_destination_section +deliveryLineType | movement,catalog/portal_type/z_related_uid_or_parent_uid +item_section_category_uid | category/category_uid/z_related_section_uid_from_item +subordination_title | category,catalog/title/z_related_subordination +translated_simulation_state_title | translation/translated_message/z_related_translated_simulation_state +resourceType | movement,catalog/portal_type/z_related_resource +destination_section_id | category,catalog/id/z_related_default_destination_section +variationCategory | category/category_uid/z_related_uid +default_source_section_title | category,catalog/title/z_related_default_source_section +translated_validation_state | translation/translated_message/z_related_translated_validation_state +default_destination_section_id | category,catalog/id/z_related_default_destination_section +default_destination_title | category,catalog/title/z_related_default_destination +source_title | category,catalog/title/z_related_default_source \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_result_key_list b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_result_key_list index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..c1ceae57de034e8b80947c785cfb8bc5d41e2ccf 100755 --- a/product/ERP5/bootstrap/erp5_core/bt/template_catalog_result_key_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_catalog_result_key_list @@ -0,0 +1,2 @@ +catalog.path +catalog.uid \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/bt/template_path_list b/product/ERP5/bootstrap/erp5_core/bt/template_path_list index ab58f2fecc54aa5bff9c727a26548503472a300b..5cf215c67db2645058e5e1f74a6ef7e8873801c0 100755 --- a/product/ERP5/bootstrap/erp5_core/bt/template_path_list +++ b/product/ERP5/bootstrap/erp5_core/bt/template_path_list @@ -1 +1,2 @@ +portal_catalog/erp5_mysql portal_preferences/default_site_preference \ No newline at end of file