It is very easy to forget about a simmering pot of beans on the stove. It is not easy to forget the terrible odor of burnt beans. Removing the odor will take days or even weeks unless you use the right products. But you don't have to buy any special deodorizers; a cheap but very effective room deodorizer might be in your cabinets already. And if it isn't, you can find it easily at any grocery store.
Open all windows and doors to the room. If you have an exhaust fan above the stove, turn this on and keep it on. Ventilation is essential for removing any burnt food odors.
Throw the beans into an outside garbage can. Soak the pot that held the beans in the sink overnight (as long as the pot is aluminum or stainless steel and not cast iron).
Clean the stove top with soap and water. Follow this with a cloth dipped in undiluted white vinegar.
Mix a solution of 1 cup of white vinegar with 1 cup of water in a bowl. Dampen a sponge in this mixture, and wipe down all counters and cabinet doors in the room.
Pour 1 cup of white vinegar into a bowl. Set this undiluted vinegar on the counter or stove top. Vinegar is a natural odor neutralizer. Leave the bowl sitting in the kitchen overnight.
Brew coffee in a coffeepot or in a pan on the stove. Coffee is a good deodorizer, and the scent will help subdue the burnt bean odor until the vinegar has more time to work.