Do you mean you need a credit note to cancel the previous invoice ?
If yes you will see that the invoice number is the same for both (as it was unlocked we have just changed the item on it) and that' s why there will be no credit note (as it is the same invoice number).