how to decrease stock from multi warehouses

Hi ,
I have an urgent requirement regarding decreasing the stock. A customer needs to create an invoice for a client,
They have two boxes of a product from two different warehouses. The issue is when we validate the invoice , it asks only to decrease stock from one warehouse and not the other. Please tell me how to make it decrease from two warehouses

Hi,

If you use 3.7 and use shipments to deliverer goods, you can see in the shipment tab from which warehouse you shipped:

For the moment only my Mobile Order Picking app can take the products from multiple warehouses.

But if you are familiar with Dolibarr development you can use the expedition.class for creating shipment lines from multiple warehouses.

If you setup your stock module to decrease on shipments, the stocks of your warehouses will be decreased.
You can create an invoice of your shipment.