A council has been urged to put politics aside and work together to reduce child poverty in County Durham after a heated debate.