Shopping Cart accepting negative quantity

Hi all,

I found a bug while building the ecommerce website that when we keep a negative number in shopping cart, the system is accepting and that amount is decreased in Grand Total and sales order is also created.

Hope this gets fixed in the next verson.

Thanks,
Prasanna

Uncheck “Allow Negative Stock” in Stock Settings

https://docs.erpnext.com/docs/user/manual/en/stock/stock-settings

It was not checked but yet the negative stock is accepted. I think it is for some other functionality.

Oh, I misunderstood the problem. In that case, open an issue on github.