Purchase or produce only missing quantity when supply one sale
When changing "supply on sale" for a product, we may still have stock in the warehouse for this product.
Usually users will want to consume first the stock before purchasing.
So I propose that the quantity of the purchase request is reduced by the stock quantity and if the result is 0, we do not create a request (or one cancelled to not create later).
Edited by Cédric Krier