Order to order_supplier via button or something


Is there any way when there is an order and some materials are missing from a button or a sheet to add order to a supplier?

I don’t think this feature is available.
Try taking a look at the store, if none exists you should think about implementing an ad-hoc module

If you set up stock mamagement/warehouses, Dolibarr deducts all sold items from your stock. And in the warehouse section, there is a replenish function to create supplier orders for all items being below a defined threshold (er even being negative, if no stock is available). Maybe that’s what you are looking for?

no, because the company works with some suppliers “on need” without keeping stocks at the warehouse

There are no stocks required in the warehouse for the replenish function. But maybe you are thinking about drop shipping, i.e. sending goods directly from your supplier to your customer. Anyways, good luck!

No, i don’t mean drop shipping. It’s just that usually there are not materials which are stocked, but they are ordered only for a customer order.

I created a batchjob (cronjob) specific for a customer. This job runs every 5 minutes and analyses sales-orders and creates purchase-orders when needed.