Only unapproved inventory delivery voucher can be edited. To be able to change the serial number, you need to create an approval process for the inventory delivery voucher.
If you check the option “Allow delete of Inventory receipt voucher or Inventory delivery voucher (after approval)” allows you to delete approved inventory delivery .
Deleting an inventory delivery with approved status ⇒ return the product and the serial number to the warehouse.