{% extends 'report_html_stock/reports/base.html' %} {% block title %} Picking List {% endblock %} {# Override the company header to iver address below it #} {% block company_header %} {% set shipment = record %} {{ super() }}
Ship To
{% for line in shipment.delivery_address.full_address.split('\n') %} {{ line }}
{% endfor %} {% endblock company_header %} {# In the report header show information about the shipment #} {% block report_header %} {% set shipment = record %} Picking List
Shipment # {{ shipment.code }}
Planned Date {{ shipment.planned_date and shipment.planned_date|dateformat }}
{% endblock %} {% block report_body %} {% set shipment = record %}
Reference Customer Warehouse Carrier Total Weight
{{ shipment.origins or '' }}{{ ', ' if (shipment.origins and shipment.reference) else '' }}{{ shipment.reference or '' }} {{ shipment.customer.rec_name }} {{ shipment.warehouse.rec_name }} {{ shipment.carrier and shipment.carrier.party.name or '-' }} {% if shipment.weight %} {{ formatLang(shipment.weight, shipment.customer.lang, digits=2) }} {{ shipment.weight_uom.symbol }} {% else %} {{ '-' }} {% endif %}
{% block moves scoped %} {% if shipment.state == 'waiting' %}{% endif %} {% for move in sort_inventory_moves(shipment, sort_key) %} {% if shipment.state == 'waiting' %}{% endif %} {% endfor %}
# Quantity Product From Location To LocationStatus
{{ loop.index }} {% if move.uom.symbol == 'u' and move.quantity > 1 %}{% endif %} {{ formatLang(move.quantity, shipment.customer.lang, digits=move.unit_digits) }} {% if move.uom.symbol != 'u' %}{{ move.uom.symbol }}{% endif %} {% if move.uom.symbol == 'u' and move.quantity > 1 %}{% endif %} {{ move.product.code }} - {{ move.product.name }} {{ move.from_location.rec_name }} {{ move.to_location.rec_name }}{{ move.state }}
{% endblock moves %} {% endblock report_body %}