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
Klaus Wölfel
erp5
Commits
dbd8adad
Commit
dbd8adad
authored
Jun 18, 2019
by
Klaus Wölfel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_item] fix listbox url of tracking view with renderjs ui
parent
be85ee02
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
118 deletions
+1
-118
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Brain_getItemExplanationUrl.py
...tem/portal_skins/erp5_item/Brain_getItemExplanationUrl.py
+0
-6
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Brain_getItemExplanationUrl.xml
...em/portal_skins/erp5_item/Brain_getItemExplanationUrl.xml
+0
-62
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingList.py
...mplateItem/portal_skins/erp5_item/Item_getTrackingList.py
+1
-2
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_viewTrackingList/listbox.xml
.../portal_skins/erp5_item/Item_viewTrackingList/listbox.xml
+0
-48
No files found.
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Brain_getItemExplanationUrl.py
deleted
100644 → 0
View file @
be85ee02
return
'%s/view?selection_name=%s&selection_index=%s'
%
(
brain
.
url
,
selection_name
,
selection
)
#return brain.url
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Brain_getItemExplanationUrl.xml
deleted
100644 → 0
View file @
be85ee02
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
Script_magic
</string>
</key>
<value>
<int>
3
</int>
</value>
</item>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string>
brain, selection, selection_name, *args, **kw
</string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
Brain_getItemExplanationUrl
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_getTrackingList.py
View file @
dbd8adad
...
...
@@ -10,8 +10,8 @@ kw.setdefault('sort_on', (('date', 'ascending',),))
history_list
=
[]
for
brain
in
method
(
aggregate_uid
=
context
.
getUid
(),
**
kw
):
history
=
newTempBase
(
context
,
str
(
len
(
history_list
)))
explanation
=
brain
.
getExplanationValue
()
history
=
newTempBase
(
explanation
.
getParentValue
(),
explanation
.
getId
())
date
=
brain
.
getDate
()
history
.
edit
(
date
=
date
,
...
...
@@ -22,7 +22,6 @@ for brain in method(aggregate_uid=context.getUid(), **kw):
explanation
=
explanation
.
getTitle
(),
translated_portal_type
=
explanation
.
getTranslatedPortalType
(),
quantity
=
explanation
.
getQuantity
(),
url
=
explanation
.
absolute_url
(),
# item_quantity=context.getQuantity(at_date=date),
variation_category_item_list
=
[
x
[
0
]
for
x
in
explanation
.
getVariationCategoryItemList
()],
simulation_state
=
explanation
.
getTranslatedSimulationStateTitle
(),
...
...
bt5/erp5_item/SkinTemplateItem/portal_skins/erp5_item/Item_viewTrackingList/listbox.xml
View file @
dbd8adad
...
...
@@ -14,7 +14,6 @@
<string>
list_method
</string>
<string>
sort_columns
</string>
<string>
title
</string>
<string>
url_columns
</string>
</list>
</value>
</item>
...
...
@@ -163,53 +162,6 @@
<key>
<string>
title
</string>
</key>
<value>
<string>
Item Tracking
</string>
</value>
</item>
<item>
<key>
<string>
url_columns
</string>
</key>
<value>
<list>
<tuple>
<string>
uid
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
explanation
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
translated_portal_type
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
date
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
node_title
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
source_title
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
section_title
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
resource_title
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
variation_category_item_list
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
<tuple>
<string>
simulation_state
</string>
<string>
Brain_getItemExplanationUrl
</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
</item>
...
...
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