Soak beans overnight. Cook. Drain the liquid in a pan.
Cut onion into rings and fry in oil, salt and pepper.
Put beans and onion in a mold in layers, top with beans. Pour over with beans broth and bake for 20 minutes over 480°F.
When serving, top the dish with greens.