When synchronize inventory to outgoing moves, the origin of the inventory is updated to point to the new corresponding outgoing move instead of the original one. Closes #12272