A community order has been handed to an Oxfordshire man who admitted to beating a woman.