shipment (on availability) should be created only if products are available

Description

when creating shipments (automatically or manually) existings shipments in status 'prepare' are not taken into account when calculating the available amount of products.
There are two stages where this is problematical. When shipments require a confirmation for picking they stay 'prepared' until picking is committed. So it happens that two or more shipments are created for the same product even if the amount available suffices only the first. That means extra effort for the people picking the products.
Second stages is when shipments require confirmation of delivery. Because all products being on the road to the customer are taken into account for new shipments there will be shipments created where nothing is on stock.
Because this is done on every run to create shipments it's very annoying.

I have a patch at hand but because it changes the default behaviour we have to decide first, how to configure it. (system configuration or select when starting the process)

Environment

None

Assignee

Unassigned

Reporter

Martin Schönbeck

Labels

None

Tested By

None

Components

Affects versions

Priority

Critical
Configure