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.