{% if document.raw.show_lots %}{% endif %} {% if shipment.warehouse_input == shipment.warehouse_storage %} {% set restocking_moves = document.incoming_moves %} {% else %} {% set restocking_moves = document.inventory_moves %} {% endif %} {% for move in restocking_moves %} {% if document.raw.show_lots %}{% endif %} {% endfor %}
{{ label('stock.move', 'from_location') }} {{ label('stock.move', 'to_location') }} {{ label('stock.move', 'product') }}{{ label('stock.move', 'lot') }}{{ label('stock.move', 'quantity') }}
{{ move.from_location.render.rec_name }} {{ move.to_location.render.rec_name }} {{ move.product.render.rec_name }}{{ move.lot and move.lot.render.number or '' }}{% if move.raw.lot and move.lot.raw.expiration_date %} ({{ move.lot.render.expiration_date }}){% endif %}{{ move.render.quantity }}