Commit 417e689b authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

erp5_trade: Add related key to search document with start date in the past

parent ee7cead4
<dtml-let delivery="table_0"
catalog="table_1">
<dtml-var delivery>.stop_date <= date_add(now(), interval 6 hour)
<dtml-var RELATED_QUERY_SEPARATOR>
<dtml-var delivery>.uid = <dtml-var catalog>.uid
<dtml-var RELATED_QUERY_SEPARATOR>
<dtml-var delivery>.uid = <dtml-var query_table>.uid
</dtml-let>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL Method" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>allow_simple_one_argument_traversal</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>table_0\n
table_1\n
RELATED_QUERY_SEPARATOR=" AND "\n
query_table="catalog"</string> </value>
</item>
<item>
<key> <string>class_file_</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>class_name_</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_portal_type_if_stop_date_is_past</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>SQL Method</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>z_related_portal_type_if_stop_date_is_past</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<key_list>
<key>child_resource_uid | catalog,category/category_uid/z_related_child_resource</key>
<key>portal_type_if_stop_date_is_past | delivery,catalog/portal_type/z_related_portal_type_if_stop_date_is_past</key>
<key>specialise_trade_condition_title | category,catalog/title/z_related_specialise_trade_condition</key>
</key_list>
\ No newline at end of file
erp5_mysql_innodb/z_related_child_resource
erp5_mysql_innodb/z_related_portal_type_if_stop_date_is_past
erp5_mysql_innodb/z_related_specialise_trade_condition
\ No newline at end of file
child_resource_uid | catalog,category/category_uid/z_related_child_resource
specialise_trade_condition_title | category,catalog/title/z_related_specialise_trade_condition
\ No newline at end of file
specialise_trade_condition_title | category,catalog/title/z_related_specialise_trade_condition
portal_type_if_stop_date_is_past | delivery,catalog/portal_type/z_related_portal_type_if_stop_date_is_past
\ 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