Cook and drain the beans.
Fry the cut bacon until crisp and put in a bowl. Add the onion and oil and mix lightly. Add salt, sugar and pepper and toss lightly. Add vinegar and water.
Fold in the cooked beans until well coated. Chill in refrigerator for 1 hour before serving.