How can we get automatic CRN (credit note) against Sales Return?

Suggestion: System has Sales return option in Sales return form.
The return option applicable, whether the transaction to be settled through replacement /credit note/Debit Note (Replacement). If Credit note is selected then no need to create CRN manually, system automatically creates a credit note on Sales return confirmation.