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
1 job for wip
Status Job ID Name Coverage
  External
running ERP5.UnitTest-Romain

24223:34:30