Commit 326cff89 authored by Jérome Perrin's avatar Jérome Perrin

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

parent 036f0c50
Pipeline #38188 failed with stage
in 0 seconds
......@@ -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')
context.setSourceValue(state)
context.setManagerBypass(True)
for v, property_dict in (
('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