Wolfe10 has good advice. I was going to vote for the autovent under the sink in the bathroom. On my rig, it only has one roof vent and both holding tanks tie into it. If yours is the same this could explain how flushing would affect a vent on the sink drain.
As he said, make sure the roof vent is not blocked. As he said, I'd then check the tanks where the pipes connect. I finally solved a similarly frustrating issue and it was a tiny leak around where the built-in tank flush nozzle was attached. Odor found its way up into the coach.