Where leases are granted by the holder for a term exceeding that of the partnership contract, the conditions for the purchaser to take over the lease must be the subject of an agreement between the purchaser, the holder, the lessee and, where applicable, the owner of the estate.