fix res_groups unique name constraint

Merged Facundo Benítez requested to merge fbenitez-12.0-stage-patch-41169 into 12.0-stage

Merge request reports