Hmm i believe it does, although i'm not sure either as i don't use it. Instead of selling i just keep most of my loot in storage. And my dwarf in camp always seems to have stat giving books in his inventory, even if i buy them all, after i come back to camp.