Commit 2df5e135 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 30f9603c
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
<value> <value>
<tuple> <tuple>
<string>action_type/workflow</string> <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>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> </tuple>
</value> </value>
</item> </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