Chop the onion and garlic. In a pot, heat the oil and sauté the onions over a gentle heat until they have softened.
Rinse the beans and add them into the pot. Add the spices and the stock cube next and mix in.
Add the tomatoes and coconut milk. Stir and let simmer for a little while or longer, depending on how hungry you are.
Add salt if necessary.
Serve with rice and sprinkle some lime juice and fresh coriander on top if you like.