When a repack stock entry is happening it automatically skips a number and creates a new one.
It might be creating document twice and deleting one