Boil the beans until half done. Strain and place them again in the pot with oil, onion and tomatoes. Cover them with water and before they are done, chop the soaked cod into medium-sized pieces and add it into the pot. Add a little pepper, let it boil for a while and serve.