idiom
on good terms with
与某人保持友好和积极的关系
Meaning
having a friendly and positive relationship with someone
Example
She’s **on good terms with** her ex-husband for the kids’ sake.
她为了孩子和前夫保持着良好的关系。