There would be no point in having treasure chests on the map if you auto-looted them at the end of a victory. While I do think one should be able to automatically pick up dropped loot at the end of a battle, I also think opening the treasure chests should be an optional objective for some battle.