{% 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 }} |
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 %} {{ format_number(shipment.weight, shipment.customer.lang, digits=2) }} {{ shipment.weight_uom.symbol }} {% else %} {{ '-' }} {% endif %} |
# | Quantity | Product | From Location | To Location | {% if shipment.state == 'waiting' %}Status | {% endif %}
---|---|---|---|---|---|
{{ loop.index }} | {% if move.uom.symbol == 'u' and move.quantity > 1 %}{% endif %} {{ format_number(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 }} | {% if shipment.state == 'waiting' %}{{ move.state }} | {% endif %}