Allocate refund to credit note

I think that’s another vote for this feature but due to the terrible way in which feature requests are tracked this looks to be a feature no-one wants but it does get mentioned in one way or another reasonably often.