Stock Take

there is already an Inventory Write-Off feature available in Manager to adjust the stock according to the physical quantity.
read this guide Manager Guides

there is also modifications to the same in the ideas category.