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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
bf57228a
Commit
bf57228a
authored
May 09, 2018
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_core] RelationField listbox must also fetch default_params value from the relationfield
parent
65de1d96
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
13 deletions
+39
-13
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewRelatedObjectList/listbox.xml
...al_skins/erp5_core/Base_viewRelatedObjectList/listbox.xml
+39
-13
No files found.
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_viewRelatedObjectList/listbox.xml
View file @
bf57228a
...
...
@@ -11,6 +11,7 @@
<value>
<list>
<string>
count_method
</string>
<string>
default_params
</string>
<string>
list_action
</string>
<string>
list_method
</string>
<string>
portal_types
</string>
...
...
@@ -66,17 +67,23 @@
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
field_id
</string>
</key>
<key>
<string>
default_params
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAI=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
f
orm
_id
</string>
</key>
<key>
<string>
f
ield
_id
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAM=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAQ=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
list_action
</string>
</key>
<value>
<string></string>
</value>
...
...
@@ -88,7 +95,7 @@
<item>
<key>
<string>
portal_types
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Q
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
</value>
</item>
<item>
...
...
@@ -106,7 +113,7 @@
<item>
<key>
<string>
sort
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
U
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
</value>
</item>
<item>
...
...
@@ -120,7 +127,7 @@
<item>
<key>
<string>
title
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
Y
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
c
=
</string>
</persistent>
</value>
</item>
</dictionary>
...
...
@@ -143,7 +150,13 @@
<item>
<key>
<string>
count_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAc=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAAg=
</string>
</persistent>
</value>
</item>
<item>
<key>
<string>
default_params
</string>
</key>
<value>
<list/>
</value>
</item>
<item>
...
...
@@ -169,7 +182,7 @@
<item>
<key>
<string>
list_method
</string>
</key>
<value>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
g
=
</string>
</persistent>
<persistent>
<string
encoding=
"base64"
>
AAAAAAAAAA
k
=
</string>
</persistent>
</value>
</item>
<item>
...
...
@@ -232,7 +245,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:
context.Base_getRelationFieldProxyListBoxId().split("/")[1]
</string>
</value>
<value>
<string>
python:
here.Base_getRelatedObjectParameter(parameter=\'parameter_list\')
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
@@ -245,7 +258,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: context.Base_getRelationFieldProxyListBoxId().split("/")[
0
]
</string>
</value>
<value>
<string>
python: context.Base_getRelationFieldProxyListBoxId().split("/")[
1
]
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
@@ -258,7 +271,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python:
here.Base_getRelatedObjectParameter(parameter=\'portal_type\')
</string>
</value>
<value>
<string>
python:
context.Base_getRelationFieldProxyListBoxId().split("/")[0]
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
@@ -271,7 +284,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.Base_getRelatedObjectParameter(parameter=\'
sort
\')
</string>
</value>
<value>
<string>
python: here.Base_getRelatedObjectParameter(parameter=\'
portal_type
\')
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
@@ -284,12 +297,25 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.Base_getRelatedObjectParameter(parameter=\'
title
\')
</string>
</value>
<value>
<string>
python: here.Base_getRelatedObjectParameter(parameter=\'
sort
\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"7"
aka=
"AAAAAAAAAAc="
>
<pickle>
<global
name=
"TALESMethod"
module=
"Products.Formulator.TALESField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: here.Base_getRelatedObjectParameter(parameter=\'title\')
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
<record
id=
"8"
aka=
"AAAAAAAAAAg="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
...
...
@@ -302,7 +328,7 @@
</dictionary>
</pickle>
</record>
<record
id=
"
8"
aka=
"AAAAAAAAAAg
="
>
<record
id=
"
9"
aka=
"AAAAAAAAAAk
="
>
<pickle>
<global
name=
"Method"
module=
"Products.Formulator.MethodField"
/>
</pickle>
...
...
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