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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
9198bf91
Commit
9198bf91
authored
Aug 08, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5Workflow: renaming once_per_transaction broke everything
need to be investigated
parent
ab4ef850
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
product/ERP5Workflow/Document/Interaction.py
product/ERP5Workflow/Document/Interaction.py
+2
-2
product/ERP5Workflow/Document/InteractionWorkflow.py
product/ERP5Workflow/Document/InteractionWorkflow.py
+1
-1
No files found.
product/ERP5Workflow/Document/Interaction.py
View file @
9198bf91
...
...
@@ -57,11 +57,11 @@ class Interaction(IdAsReferenceMixin('interaction_', "prefix"), XMLObject):
managed_role
=
()
erp5_permission_roles
=
{}
# { permission: [role] or (role,) }
manager_bypass
=
0
method_id
=
None
trigger_
method_id
=
None
trigger_type
=
TRIGGER_WORKFLOW_METHOD
portal_type_filter
=
None
portal_type_group_filter
=
None
trigger_
once_per_transaction
=
False
once_per_transaction
=
False
temporary_document_disallowed
=
False
var_exprs
=
None
# A mapping.
guard
=
None
...
...
product/ERP5Workflow/Document/InteractionWorkflow.py
View file @
9198bf91
...
...
@@ -408,7 +408,7 @@ class InteractionWorkflow(IdAsReferenceMixin("", "prefix"), Workflow):
interaction_prop_id_to_show
=
sorted
([
'actbox_category'
,
'actbox_url'
,
'actbox_name'
,
'activate_script_name'
,
'after_script_name'
,
'before_commit_script_name'
,
'description'
,
'groups'
,
'roles'
,
'expr'
,
'permissions'
,
'trigger_method_id'
,
'
trigger_
once_per_transaction'
,
'portal_type_filter'
,
'portal_type_group_filter'
,
'once_per_transaction'
,
'portal_type_filter'
,
'portal_type_group_filter'
,
'script_name'
,
'temporary_document_disallowed'
,
'trigger_type'
])
for
tdef
in
interaction_list
:
interaction_reference_list
.
append
(
tdef
.
getReference
())
...
...
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