In any action on a rental agreement or arising under this chapter, reasonable attorney fees at trial and on appeal may be awarded to the prevailing party together with costs and necessary disbursements, notwithstanding any agreement to the contrary. As used in this section, "prevailing party" means the party in whose favor final judgment is rendered.
ORS 90.255