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
bef0144c
Commit
bef0144c
authored
Jul 05, 2015
by
wenjie.zheng
Committed by
Sebastien Robin
Jul 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Base.py: deploy interaction trigger method id getter.
parent
962c9cd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
product/ERP5Type/Base.py
product/ERP5Type/Base.py
+2
-1
No files found.
product/ERP5Type/Base.py
View file @
bef0144c
...
@@ -592,6 +592,7 @@ def initializePortalTypeDynamicWorkflowMethods(ptype_klass, portal_workflow):
...
@@ -592,6 +592,7 @@ def initializePortalTypeDynamicWorkflowMethods(ptype_klass, portal_workflow):
for
wf_id
,
v
in
interaction_workflow_dict
.
iteritems
():
for
wf_id
,
v
in
interaction_workflow_dict
.
iteritems
():
transition_id_set
,
trigger_dict
=
v
transition_id_set
,
trigger_dict
=
v
for
tr_id
,
tdef
in
trigger_dict
.
iteritems
():
for
tr_id
,
tdef
in
trigger_dict
.
iteritems
():
# Check portal type filter
# Check portal type filter
if
(
tdef
.
portal_type_filter
is
not
None
and
\
if
(
tdef
.
portal_type_filter
is
not
None
and
\
portal_type
not
in
tdef
.
portal_type_filter
):
portal_type
not
in
tdef
.
portal_type_filter
):
...
@@ -604,7 +605,7 @@ def initializePortalTypeDynamicWorkflowMethods(ptype_klass, portal_workflow):
...
@@ -604,7 +605,7 @@ def initializePortalTypeDynamicWorkflowMethods(ptype_klass, portal_workflow):
portal_type_group
in
tdef
.
portal_type_group_filter
):
portal_type_group
in
tdef
.
portal_type_group_filter
):
continue
continue
for
imethod_id
in
tdef
.
method_id
:
for
imethod_id
in
tdef
.
getTriggerMethodIdList
()
:
if
wildcard_interaction_method_id_match
(
imethod_id
):
if
wildcard_interaction_method_id_match
(
imethod_id
):
# Interactions workflows can use regexp based wildcard methods
# Interactions workflows can use regexp based wildcard methods
# XXX What happens if exception ?
# XXX What happens if exception ?
...
...
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