Slice the onion thinly in to half-moon shapes.
Fry the onion in ½ tablespoon olive oil in a small frying pan (21.5cm / 8.5" in diameter) over a low heat for 10-15 minutes, stirring every so often, until softened and caramelised.
Remove from the heat and leave to cool slightly.
Slice the roast potatoes in to ½ cm (⅕ inch) thick slices
Whisk the eggs in a large mixing bowl and add a pinch of salt. Stir in the sliced potatoes and cooked onions.
Wipe the frying pan with a piece of kitchen paper towel then add the other ½ tablespoon of olive oil and pour the egg and potato mixture in to the pan.
Cook over a low-medium heat for 6-8 minutes.
Once the edges become firm and start to look cooked, use a spatula to ease the tortilla gently away from the edge of the pan then place a plate over the frying pan (use a plate that is larger than the frying pan).
Carefully tip the frying pan over so the tortilla comes out on to the plate, cooked side up.
Carefully slide the tortilla back in to the pan, raw side down. (Some raw egg will remain on the plate - this is OK!)
Cook the other side for 3-4 minutes until cooked all the way through.
You can serve the tortilla warm or cold. Store any leftovers in the fridge.