Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
badf9e68
Commit
badf9e68
authored
Oct 16, 2015
by
wenjie.zheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CheckSkin.py: compatibility modification for transition, script, worklist getter.
parent
759813b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
product/ERP5/Extensions/CheckSkins.py
product/ERP5/Extensions/CheckSkins.py
+6
-6
No files found.
product/ERP5/Extensions/CheckSkins.py
View file @
badf9e68
...
@@ -310,8 +310,8 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
...
@@ -310,8 +310,8 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
# Workflows.
# Workflows.
for
wf
in
self
.
portal_workflow
.
objectValues
():
for
wf
in
self
.
portal_workflow
.
objectValues
():
# Transitions.
# Transitions.
for
id
in
wf
.
transitions
.
objectIds
():
Transition_value_dict
=
wf
.
getTransitionValueList
()
transition
=
wf
.
transitions
.
_getOb
(
id
)
for
id
,
transition
in
Transition_value_dict
.
items
():
text
=
transition
.
actbox_url
text
=
transition
.
actbox_url
for
info
in
info_list
:
for
info
in
info_list
:
if
info
.
regexp
.
search
(
text
)
is
not
None
:
if
info
.
regexp
.
search
(
text
)
is
not
None
:
...
@@ -323,8 +323,8 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
...
@@ -323,8 +323,8 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
transition
.
actbox_url
=
text
transition
.
actbox_url
=
text
break
break
# Worklists.
# Worklists.
for
id
in
wf
.
worklists
.
objectIds
():
worklist_value_dict
=
wf
.
getWorklistValueList
()
worklist
=
wf
.
worklists
.
_getOb
(
id
)
for
id
,
worklist
in
worklist_value_dict
.
items
():
text
=
worklist
.
actbox_url
text
=
worklist
.
actbox_url
for
info
in
info_list
:
for
info
in
info_list
:
if
info
.
regexp
.
search
(
text
)
is
not
None
:
if
info
.
regexp
.
search
(
text
)
is
not
None
:
...
@@ -336,8 +336,8 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
...
@@ -336,8 +336,8 @@ def fixSkinNames(self, REQUEST=None, file=None, dry_run=0):
worklist
.
actbox_url
=
text
worklist
.
actbox_url
=
text
break
break
# Scripts.
# Scripts.
for
id
in
wf
.
scripts
.
objectIds
():
script_value_dict
=
wf
.
getScriptValueList
()
script
=
wf
.
scripts
.
_getOb
(
id
)
for
id
,
script
in
script_value_dict
.
items
():
text
=
script
.
manage_FTPget
()
text
=
script
.
manage_FTPget
()
name_list
=
[]
name_list
=
[]
for
info
in
info_list
:
for
info
in
info_list
:
...
...
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