Warm the rest of the oil in a large wok or deep pan over a medium heat, and add the onion. Fry for five to seven minutes, until it begins to soften, then add the curry paste, turmeric and curry powder, and continue to cook for a further five minutes or so, until the onions are soft.