As far as Cameron Diaz is concerned, the seeds for "The Other Woman" were planted three decades ago when she watched "Nine To Five" for the first time.

The '80s classic, which stars Jane Fonda, Lily Tomlin and Dolly Parton as office workers who team up to take revenge on their male chauvinist boss (Dabney Coleman), instantly captured the imagination of the then-preteen Diaz.

"I watched it a thousand times when I was a child. Literally, a thousand times," the actress says. "My girlfriend had a VCR and she only had four movies and that was one of them. We watched it constantly."

Just like "Nine To Five," "The Other Woman" is about three women who would never have come together except that they want to settle the score with an unfaithful lover. Diaz plays a Manhattan attorney who discovers that her boyfriend ("Game of Thrones" star Nikolaj Coster-Waldau) is married. Diaz breaks up with Coster-Waldau but a chance meeting with his wife (Leslie Mann) leads to a fast friendship.

When the new pals discover Coster-Waldau was cheating on both of them with yet another woman (Kate Upton), the trio team to fight back.

"I think we've all gone through some kind of betrayal, whether it's with a boyfriend or a friend or a family member," notes the actress, whose next comedy "Sex Tape" opens July 25. "That's why this is sort of relatable to everybody because we all know what it feels like to (experience) betrayal and heartbreak."

"The Other Woman" was produced by Julie Yorn and written by Melissa Stack.

"There's nothing like this movie out there," Diaz says.

She insists "The Other Woman" is more about friendship than table-turning.

"We didn't want it to be a story about revenge but about utilizing the commonality of the three," says the actress, 41, who made her film debut 20 years ago in "The Mask" starring Jim Carrey. "Having a relationship with the same man ... is the catalyst that brings them together. Otherwise, these three women would not know each other.

"So, it's not only a story about friendship and how we support one another ... but it also shows how different these women are. They each have their own strengths and weaknesses ... They actually empower one another because of those strengths and weaknesses."