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 https://lab.nexedi.com/nexedi/erp5/commit/c00c36364ea6e122494b4971d95eccec996c1549