Commit 130047f0 authored by Jérome Perrin's avatar Jérome Perrin

core: set "Manager bypass guard" by default on ERP5 workflows

parent 687d9a93
...@@ -3,6 +3,7 @@ Set up an Workflow with defaults variables needed by ERP5 ...@@ -3,6 +3,7 @@ Set up an Workflow with defaults variables needed by ERP5
""" """
state = context.newContent(portal_type='Workflow State', reference='draft', title='Draft') state = context.newContent(portal_type='Workflow State', reference='draft', title='Draft')
context.setSourceValue(state) context.setSourceValue(state)
context.setManagerBypass(True)
for v, property_dict in ( for v, property_dict in (
('action', { ('action', {
......
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