California, United States of America
The following excerpt is from Debard v. U.S. Bank Nat'Lass'N, E064933 (Cal. App. 2016):
section 1717 provides where the contract provides for attorney's fees, the prevailing party is entitled to reasonable attorney's fees as a matter of right: ". . . when the decision on the litigated contract claims is purely good news for one party and bad news for the other the Courts of Appeal have recognized that a trial court has no discretion to deny attorney fees to the successful litigant." (Hsu v. Abbara (1995) 9 Cal.4th 863, 876.)
The above passage should not be considered legal advice. Reliable answers to complex legal questions require comprehensive research memos. To learn more visit www.alexi.com.