[FIX] rma: Adjust hook for existing values
[FIX] rma: Adjust hook for existing values

If rma_in_type_id or rma_out_type_id are already set, then the hook
fails. With this alternative code, we avoid it and clean it for being
clearer.

OCA/rma,OCA/rma,OCA/rma