Wrong ODT templates in Shipping module

When I create a shipment and want to generate a ODT template Dolibar 9.x looks in the DATADIR/doctemplates/orders directory for ODT templates and not in the DATADIR/doctemplates/shipment directory.