Before fixing the rate of taxes the legislative body of a city which has transferred the duties of the assessor and tax collector shall fix by ordinance or resolution the amount of revenue from property taxes necessary to support its departments for the current year and to pay the bonded or other indebtedness of the city, or any portion or district of the city.