As a previous poster suggested, could be that the flush is pulling the water out of the sink or bath/shower traps. This happens if the system is not properly ventilated. It's solved by making sure the vent pipe's working properly. In some cases, an anti-siphon valve is required (it's placed on the sink/shower waste pipe).
Another possibility - is the bathroom properly ventilated? The smell could be "residual."
By the way, I doubt if a poor flush is causing the problem, but if the flush is poor, it sounds like your sewage pipes are possibly blocked, which could also be contributing to your odour problem. Have you checked the inspection chambers outside?