{% extends 'production_report/reports/base.html' %} {% block title %} Production Order {% endblock %} {% block scripts %} {% endblock scripts %} {% block report_header scoped %} {% set production = record %} Production Order
Production # | {{ production.code or 'N/A' }} |
Production State: | {{ production.state }} |
Planned Date: | {{ production.planned_date and production.planned_date|dateformat }} |
Effective Date: | {{ production.effective_date|dateformat }} |
Reference | {% endif %}Warehouse | Product | Quantity | Cost | BOM |
---|---|---|---|---|---|
{{ production.reference }} | {% endif %}{{ production.warehouse and production.warehouse.rec_name}} | {{ production.product and production.product.rec_name or 'N/A' }} | {% if production.quantity %} {{ formatLang(production.quantity, production.company.party.lang, digits=production.unit_digits) }} {% if production.uom.symbol != 'u' %}{{ production.uom.symbol }}{% endif %} {% else %} 'N/A' {% endif %} | {{ production.cost|currencyformat(production.company.currency.code) }} | {{ production.bom and production.bom.rec_name or 'N/A' }} |
# | Item | Description | Quantity | From Location | Planned Date | Effective Date | State |
---|---|---|---|---|---|---|---|
{{ loop.index }} | {% if move.product %} {{ move.product.code }} {% else %} - {% endif %} | {% if move.product %} {{ move.product.name }} {% else %} {{ move.description }} {% endif %} | {{ formatLang(move.quantity, production.company.party.lang, digits=move.unit_digits) }} {% if move.uom.symbol != 'u' %}{{ move.uom.symbol }}{% endif %} | {{ move.from_location.rec_name }} | {{ move.planned_date and move.planned_date|dateformat or '-' }} | {{ move.effective_date and move.effective_date|dateformat or '-' }} | {{ move.state }} |
# | Item | Description | Quantity | To Location | Planned Date | Effective Date | State |
---|---|---|---|---|---|---|---|
{{ loop.index }} | {% if move.product %} {{ move.product.code }} {% else %} - {% endif %} | {% if move.product %} {{ move.product.name }} {% else %} {{ move.description }} {% endif %} | {{ formatLang(move.quantity, production.company.party.lang, digits=move.unit_digits) }} {% if move.uom.symbol != 'u' %}{{ move.uom.symbol }}{% endif %} | {{ move.to_location.rec_name }} | {{ move.planned_date and move.planned_date|dateformat or '-' }} | {{ move.effective_date and move.effective_date|dateformat or '-' }} | {{ move.state }} |