Process numbering was incorrectly changed after modifying an existing manual invoice

If you modified a manual sales invoice, the process numbering for manual sales invoices was incorrectly changed as well.