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
Leo Le Bouter
erp5
Commits
53e7f174
Commit
53e7f174
authored
May 14, 2018
by
Tomáš Peterka
Committed by
Tomáš Peterka
May 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_core] Bug fixes on Mass Worlflow Transition utility scripts
parent
fd91e074
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/testMassWorkflowTransition.zpt
...al_tests/renderjs_ui_zuite/testMassWorkflowTransition.zpt
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_searchUsingFormIdAndQuery.py
.../portal_skins/erp5_core/Base_searchUsingFormIdAndQuery.py
+1
-1
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_filterDocumentByWorkflow.py
...portal_skins/erp5_core/Folder_filterDocumentByWorkflow.py
+1
-1
No files found.
bt5/erp5_web_renderjs_ui_test/PathTemplateItem/portal_tests/renderjs_ui_zuite/testMassWorkflowTransition.zpt
View file @
53e7f174
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
</tal:block>
</tal:block>
<tr><td>
waitForElementPresent
</td>
<tr><td>
waitForElementPresent
</td>
<td>
//select[@name="field_workflow_action"]
</td><td></td></tr>
<td>
//select[@name="field_workflow_action"]
/option[@value="validate_action"]
</td><td></td></tr>
<tr><td>
select
</td>
<tr><td>
select
</td>
<td>
//select[@name="field_workflow_action"]
</td>
<td>
//select[@name="field_workflow_action"]
</td>
<td>
value=validate_action
</td></tr>
<td>
value=validate_action
</td></tr>
...
...
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_searchUsingFormIdAndQuery.py
View file @
53e7f174
...
@@ -6,4 +6,4 @@ This script is intended to be used only internally.
...
@@ -6,4 +6,4 @@ This script is intended to be used only internally.
form
=
getattr
(
context
,
form_id
)
form
=
getattr
(
context
,
form_id
)
listbox
=
form
.
Base_getListbox
()
listbox
=
form
.
Base_getListbox
()
return
context
.
Base_searchUsingListbox
(
listbox
,
query
,
sort_on
,
limit
)
return
context
.
Base_searchUsingListbox
(
listbox
,
query
,
sort_on
=
sort_on
,
limit
=
limit
)
product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Folder_filterDocumentByWorkflow.py
View file @
53e7f174
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
portal_catalog
=
context
.
getPortalObject
().
portal_catalog
portal_catalog
=
context
.
getPortalObject
().
portal_catalog
action_tool
=
context
.
getPortalObject
().
portal_actions
action_tool
=
context
.
getPortalObject
().
portal_actions
document_list
=
[
result
.
getObject
()
for
result
in
portal_catalog
.
searchResults
(
sort_on
=
limit
,
limit
=
limit
,
**
kwargs
)]
document_list
=
[
result
.
getObject
()
for
result
in
portal_catalog
.
searchResults
(
sort_on
=
sort_on
,
limit
=
limit
,
**
kwargs
)]
if
not
workflow_action
:
if
not
workflow_action
:
# if we have no filter (=workflow action) we return back all documents
# if we have no filter (=workflow action) we return back all documents
...
...
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