[FIX] Errors on loan transfer

Merged Facundo Barral requested to merge T-2871 into 12.0-prod

Merge request reports