Commit d3b9880a authored by Romain Courteaud's avatar Romain Courteaud

erp5_base: recalculate user group after closing the assignment

If user group are recalculated before changing the workflow state, it will only return the same security group
See nexedi/erp5@c00c3636
parent e3ffbec0
Pipeline #19790 failed with stage
in 0 seconds
......@@ -23,9 +23,9 @@
<value>
<tuple>
<string>action_type/workflow</string>
<string>before_script/portal_workflow/assignment_workflow/script_Assignment_updateUserSecurityGroup</string>
<string>after_script/portal_workflow/assignment_workflow/script_Assignment_setStopDate</string>
<string>destination/portal_workflow/assignment_workflow/state_closed</string>
<string>after_script/portal_workflow/assignment_workflow/script_Assignment_setStopDate</string>
<string>after_script/portal_workflow/assignment_workflow/script_Assignment_updateUserSecurityGroup</string>
</tuple>
</value>
</item>
......
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