While in Sale of Inventry item, qty in hand should be displayed as user cannot sell item more than Inventry in hand
If you search previous posts on this subject, you will see this has been discussed many times.
Some businesses sell items and then purchase them so this would not suit them. Also, if you have stock in various locations you might have enough overall stock but not enough in the correct location.
It is in the ideas category.
I think this can be adapted as user permission, where you set users who can sell with no stock, and users who can’t.
i mean the stock qty should be displayed while entering qty in incoice(ie if i have 100 pcs in stock ) it should display 100 as Invoice allows to enter more like 102 etc