Why is child warehouse always given priority when creating shipments?


DOLIBARR ENVIRONMENT

  • Version: [14.0.4]
  • Operating System: [Ubuntu 18.04.6 LTS]
  • Web Server: [Apache 2.4.29]
  • PHP: [7.4.26]
  • Database: [MariaDB 5.5.5]
  • URL(s): [/expedition/shipment.php]

The subject line says it. When I have the same product in a parent and a child warehouse and I create a shipment, even when I select to use the parent warehouse for this shipment, the stock from the child warehouse is always used first and only when this stock is depleted, the parent warehouse that I selected is used. What is the reasoning behind it? Is there a way to change it?

Cheers,
Chris