Simplify consume_allocation in stock record mixin