Commit a4b21eac authored by Tatuya Kamada's avatar Tatuya Kamada

2010-08-20 tatuya

* Add grand_parent_delivery_portal_type, and grand_grand_grand_parent_delivery_portal_type related keys so that we will select the delivery portal type of a simulation movement.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37920 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ff6c88da
No related merge requests found
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
</pickle>
<pickle>
<dictionary>
<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>
<item>
<key> <string>table_3</string> </key>
<value>
<dictionary/>
</value>
</item>
<item>
<key> <string>table_4</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>
<string>table_3</string>
<string>table_4</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\r\n
table_2\r\n
table_3\r\n
table_4\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_related_grand_grand_grand_parent_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[
<dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.delivery.getUid()">\n
AND <dtml-var table_0>.uid = <dtml-var table_3>.parent_uid\n
AND <dtml-var table_1>.uid = catalog.parent_uid\n
AND <dtml-var table_2>.uid = <dtml-var table_1>.parent_uid\n
AND <dtml-var table_3>.uid = <dtml-var table_2>.parent_uid\n
AND <dtml-var table_4>.uid = <dtml-var table_0>.category_uid\n
]]></string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="__newobj__" module="copy_reg"/>
</klass>
<tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<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>.base_category_uid = <dtml-var "portal_categories.delivery.getUid()">\n
AND <dtml-var table_0>.uid = <dtml-var table_3>.parent_uid\n
AND <dtml-var table_1>.uid = catalog.parent_uid\n
AND <dtml-var table_2>.uid = <dtml-var table_1>.parent_uid\n
AND <dtml-var table_3>.uid = <dtml-var table_2>.parent_uid\n
AND <dtml-var table_4>.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>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
</pickle>
<pickle>
<dictionary>
<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\r\n
table_1\r\n
table_2\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_related_grand_parent_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[
<dtml-var table_0>.base_category_uid = <dtml-var "portal_categories.delivery.getUid()">\n
AND <dtml-var table_0>.uid = <dtml-var table_1>.parent_uid\n
AND <dtml-var table_1>.uid = catalog.parent_uid\n
AND <dtml-var table_2>.uid = <dtml-var table_0>.category_uid\n
]]></string> </value>
</item>
<item>
<key> <string>template</string> </key>
<value>
<object>
<klass>
<global name="__newobj__" module="copy_reg"/>
</klass>
<tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<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>.base_category_uid = <dtml-var "portal_categories.delivery.getUid()">\n
AND <dtml-var table_0>.uid = <dtml-var table_1>.parent_uid\n
AND <dtml-var table_1>.uid = catalog.parent_uid\n
AND <dtml-var table_2>.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>
......@@ -7,6 +7,8 @@
<key>explanation_portal_type | movement,catalog/portal_type/z_related_explanation</key>
<key>explanation_simulation_state | movement,catalog/simulation_state/z_related_explanation</key>
<key>grand_grand_grand_grand_grand_parent_simulation_state | catalog,catalog,catalog,catalog,catalog,catalog/simulation_state/z_related_grand_grand_grand_grand_grand_parent</key>
<key>grand_grand_grand_parent_delivery_portal_type | category,catalog,catalog,catalog,catalog/portal_type/z_related_grand_grand_grand_parent_delivery</key>
<key>grand_parent_delivery_portal_type | category,catalog,catalog/portal_type/z_related_grand_parent_delivery</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>
......
2010-08-20 tatuya
* Add grand_parent_delivery_portal_type, and grand_grand_grand_parent_delivery_portal_type related keys so that we will select the delivery portal type of a simulation movement.
2010-06-08 Kazuhiko
* Add portal_type column in translation table and use it in several related keys to avoid unexpected verbose results of translated state search.
......
196
\ No newline at end of file
197
\ No newline at end of file
......@@ -90,7 +90,9 @@ erp5_mysql_innodb/z_related_career_skill
erp5_mysql_innodb/z_related_explanation
erp5_mysql_innodb/z_related_function_uid_from_stock
erp5_mysql_innodb/z_related_grand_grand_grand_grand_grand_parent
erp5_mysql_innodb/z_related_grand_grand_grand_parent_delivery
erp5_mysql_innodb/z_related_grand_parent
erp5_mysql_innodb/z_related_grand_parent_delivery
erp5_mysql_innodb/z_related_metric_type
erp5_mysql_innodb/z_related_mirror_section_uid_from_stock
erp5_mysql_innodb/z_related_node_uid_from_stock
......
......@@ -55,3 +55,5 @@ parent_specialise_reference | category,catalog/reference/z_related_parent_specia
predicate_category_base_category_uid | predicate_category/base_category_uid/z_related_predicate_category
predicate_category_category_strict_membership | predicate_category/category_strict_membership/z_related_predicate_category
predicate_category_category_uid | predicate_category/category_uid/z_related_predicate_category
grand_parent_delivery_portal_type | category,catalog,catalog/portal_type/z_related_grand_parent_delivery
grand_grand_grand_parent_delivery_portal_type | category,catalog,catalog,catalog,catalog/portal_type/z_related_grand_grand_grand_parent_delivery
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment