TypeError in get_batches_by_oldest for mixed batch expiry
Fixes crash when a warehouse has both dated and non-expiring batches; expiry_date is nullable but sort was comparing directly.
Fixes crash when a warehouse has both dated and non-expiring batches; expiry_date is nullable but sort was comparing directly.
Type to search updates across the ecosystem.