The provisions of the internal revenue code relating to the determination of taxable income of partners and partnerships shall apply with equal force in determining Kansas taxable income of each partner except, however, for the modifications provided in Kan. Stat. Ann. § 79-32,131.