capital gain on conversion of capital asset into stock-in-trade shall be chargeable to tax in previous year in which that stock-in-trade is sold or otherwise transferred by the assessee. The indexation of cost of acquisition/improvement is done upto the date of conversion.