Zerodha sets the retail allotment price as the default average price for shares allotted in an IPO to your Zerodha demat account. If the allotment price is not the same, you can create a ticket for the Zerodha team to manually update your holding price.
If you transfer shares to your Zerodha demat account after allotment in a different demat account, you need to update the acquisition/allotment price in Console.