Commit bfc6e410 authored by Romain Courteaud's avatar Romain Courteaud

Allow to search Person and Organisation by Address.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42972 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0649cc1a
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>arguments_src</string> </key>
<value> <string>table_0\r\n
table_1</string> </value>
</item>
<item>
<key> <string>connection_id</string> </key>
<value> <string>erp5_sql_connection</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>z_related_child_address</string> </value>
</item>
<item>
<key> <string>src</string> </key>
<value> <string encoding="cdata"><![CDATA[
<dtml-comment>\n
table_0 : catalog as child\n
table_1 : address as address\n
</dtml-comment>\n
catalog.uid = <dtml-var table_0>.parent_uid\n
AND <dtml-var table_0>.portal_type = \'Address\'\n
AND <dtml-var table_0>.uid = <dtml-var table_1>.uid
]]></string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<key_list>
<key>child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address</key>
<key>default_email_text | catalog,email/url_string/z_related_default_email</key>
<key>destination_person_title | category,catalog/title/z_related_destination_person</key>
<key>owner_title | catalog/title/z_related_owner_title</key>
......
......@@ -50,6 +50,7 @@
<value>
<list>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -65,6 +66,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_child_address_SearchableText</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
......
......@@ -113,8 +113,8 @@
<string>FAX</string>
</tuple>
<tuple>
<string>default_address_text</string>
<string>Address</string>
<string>child_address_SearchableText</string>
<string>Address (Full Text)</string>
</tuple>
<tuple>
<string>social_form_translated_title</string>
......@@ -278,6 +278,10 @@
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
<tuple>
<string>child_address_SearchableText</string>
<string>Address (Full Text)</string>
</tuple>
</list>
</value>
</item>
......
......@@ -50,6 +50,7 @@
<value>
<list>
<string>bottom</string>
<string>hidden</string>
</list>
</value>
</item>
......@@ -65,6 +66,14 @@
</list>
</value>
</item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_child_address_SearchableText</string>
</list>
</value>
</item>
</dictionary>
</value>
</item>
......
......@@ -105,10 +105,6 @@
<string>default_fax_text</string>
<string>FAX</string>
</tuple>
<tuple>
<string>default_address_text</string>
<string>Address</string>
</tuple>
<tuple>
<string>gender_translated_title</string>
<string>Gender</string>
......@@ -138,8 +134,8 @@
<string>Nationality</string>
</tuple>
<tuple>
<string>default_address_text</string>
<string>Address</string>
<string>child_address_SearchableText</string>
<string>Address (Full Text)</string>
</tuple>
<tuple>
<string>marital_status_translated_title</string>
......@@ -314,10 +310,6 @@ Role & Region
<string>default_fax_text</string>
<string>FAX</string>
</tuple>
<tuple>
<string>default_address_text</string>
<string>Address</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
......@@ -343,8 +335,8 @@ Role & Region
<string>Email</string>
</tuple>
<tuple>
<string>default_address_text</string>
<string>Address</string>
<string>child_address_SearchableText</string>
<string>Address (Full Text)</string>
</tuple>
<tuple>
<string>marital_status_translated_title</string>
......@@ -404,10 +396,6 @@ Role & Region
<string>default_fax_text</string>
<string>FAX</string>
</tuple>
<tuple>
<string>default_address_text</string>
<string>Address</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
......
939
\ No newline at end of file
942
\ No newline at end of file
erp5_mysql_innodb/z_related_child_address
erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_owner_title
......
......@@ -3,4 +3,5 @@ source_person_title | category,catalog/title/z_related_source_person
destination_person_title | category,catalog/title/z_related_destination_person
default_email_text | catalog,email/url_string/z_related_default_email
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_use
owner_title | catalog/title/z_related_owner_title
\ No newline at end of file
owner_title | catalog/title/z_related_owner_title
child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address
\ 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