Melt butter and brown onions and beef.
Add next 5 ingredients and simmer for 10 minutes. Add beans, mix well and pour into casserole. Bake 45 minutes at 325° F uncovered.