Inventory item with difference version

Hi,

If we want to avoid creating an new inventory codes for each version of our product, is there a way of doing this? Or we have to create a new inventory code for each version? Thanks!