Odoo by default lets you select any lot/serial number in delivery order or internal transfer regardless of its available quantity (even if the lot/serial has no inventory, you can select the lot/serial), which is prone to cause operation mistake.
I am guessing there is already a module to prevent this problem (i.e. lot/serial number cannot be selected in case there is no inventory balance). Any pointer would be appreciated.