Inventory which have been sold from cash account doesn't reduce qty

As you can see on screenshots here

after update 16.7.6 inventory items show as on hand. Despite it has been sold.

I can reproduce this issue. Fixed in the latest version (16.7.7)