As of now, i can create an Invoice for 10 pieces of stock.
Subsequently, when i create a Credit Note, i can create infinitely many Credit Notes from the Same Invoice.
This means without any check and balance, the person creating credit notes can receive more than the sales quantity of stock from the customer.
THIS IS NOT GOOD.
Please schedule for update to limit the credit notes created from invoice by the quantity of stock credit noted so that the maximum of the invoice can be credit noted.