The forecast quantity on product is always in the default unit. So to make the same test as on check stock quantity, we need to convert the line quantity into the default product unit. Closes #11958
Sale Stock Quantity ################### The sale_stock_quantity module check the stock quantity of the products when quoting a sale. The check will warn the user if the forecast quantity at the sale date (and further dates until next supply) is lower than the quantity sold by considering other sales and the stock forecasts.