Please follow the steps:
Click on Settings >> Click on General Settings >> Click on Sales >> Click on Allow Negative Quantity >> Click on Save and Update.