[IMP] crm: make code of merge opportunities overloadable