Commit 9198bf91 authored by iv's avatar iv

ERP5Workflow: renaming once_per_transaction broke everything

need to be investigated
parent ab4ef850
......@@ -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
......
......@@ -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())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment