Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Cédric Le Ninivin
erp5
Commits
55c952ef
Commit
55c952ef
authored
Mar 16, 2018
by
Cédric Le Ninivin
Committed by
Cédric Le Ninivin
May 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_base: introduce parent delivery related key to look into delivery properties of the parent
parent
38f48d2a
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
75 additions
and
1 deletion
+75
-1
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_delivery.catalog_keys.xml
...5_mysql_innodb/z_related_parent_delivery.catalog_keys.xml
+2
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_delivery.sql
...l_catalog/erp5_mysql_innodb/z_related_parent_delivery.sql
+1
-0
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_delivery.xml
...l_catalog/erp5_mysql_innodb/z_related_parent_delivery.xml
+68
-0
bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
...5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
+1
-0
bt5/erp5_base/bt/template_catalog_method_id_list
bt5/erp5_base/bt/template_catalog_method_id_list
+1
-0
bt5/erp5_base/bt/template_catalog_related_key_list
bt5/erp5_base/bt/template_catalog_related_key_list
+2
-1
No files found.
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_delivery.catalog_keys.xml
0 → 100644
View file @
55c952ef
<catalog_method>
</catalog_method>
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_delivery.sql
0 → 100644
View file @
55c952ef
<
dtml
-
var
table_0
>
.
uid
=
<
dtml
-
var
query_table
>
.
parent_uid
\ No newline at end of file
bt5/erp5_base/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_related_parent_delivery.xml
0 → 100644
View file @
55c952ef
<?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
RELATED_QUERY_SEPARATOR=" AND "\n
query_table="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>
<none/>
</value>
</item>
<item>
<key>
<string>
class_name_
</string>
</key>
<value>
<none/>
</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_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>
portal_type
</string>
</key>
<value>
<string>
SQL Method
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
z_related_parent_delivery
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_base/CatalogRelatedKeyTemplateItem/related_key_list.xml
View file @
55c952ef
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
<key>
child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone
</key>
<key>
child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone
</key>
<key>
default_email_text | catalog,email/url_string/z_related_default_email
</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>
destination_person_title | category,catalog/title/z_related_destination_person
</key>
<key>
parent_delivery_start_date | delivery/start_date/z_related_parent_delivery
</key>
<key>
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_related_use
</key>
<key>
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_related_use
</key>
<key>
source_organisation_title | category,catalog/title/z_related_source_organisation
</key>
<key>
source_organisation_title | category,catalog/title/z_related_source_organisation
</key>
<key>
source_person_title | category,catalog/title/z_related_source_person
</key>
<key>
source_person_title | category,catalog/title/z_related_source_person
</key>
...
...
bt5/erp5_base/bt/template_catalog_method_id_list
View file @
55c952ef
...
@@ -4,6 +4,7 @@ erp5_mysql_innodb/z_related_child_telephone
...
@@ -4,6 +4,7 @@ erp5_mysql_innodb/z_related_child_telephone
erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_default_email
erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_destination_person
erp5_mysql_innodb/z_related_destination_person_full_text
erp5_mysql_innodb/z_related_destination_person_full_text
erp5_mysql_innodb/z_related_parent_delivery
erp5_mysql_innodb/z_related_resource_related_use
erp5_mysql_innodb/z_related_resource_related_use
erp5_mysql_innodb/z_related_source_organisation
erp5_mysql_innodb/z_related_source_organisation
erp5_mysql_innodb/z_related_source_organisation_full_text
erp5_mysql_innodb/z_related_source_organisation_full_text
...
...
bt5/erp5_base/bt/template_catalog_related_key_list
View file @
55c952ef
...
@@ -5,3 +5,4 @@ default_email_text | catalog,email/url_string/z_related_default_email
...
@@ -5,3 +5,4 @@ default_email_text | catalog,email/url_string/z_related_default_email
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_related_use
related_resource_use_uid | category,category,catalog,catalog/uid/z_related_resource_related_use
child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address
child_address_SearchableText | catalog,full_text/SearchableText/z_related_child_address
child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone
child_telephone_SearchableText | catalog,full_text/SearchableText/z_related_child_telephone
parent_delivery_start_date | delivery/start_date/z_related_parent_delivery
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment