Butter or oil an ovenproof dish. Use a third of the potatoes to make a base layer, spread over half the onion and half the tomatoes, then season with salt, pepper and oregano. Repeat, finishing with a layer of potatoes. Dot with butter and pour over the liquid.