{% extends "inventory/base.html" %} {% block title %}Import{% endblock %} {% block content %}
Required columns: date, sku, warehouse, kind, qty. Optional: unit_cost, reference, to_warehouse, expiry_date. Kinds: receipt (needs unit_cost), issue, transfer (needs to_warehouse), adjustment (signed qty), return. The whole file is rejected if any row is invalid, or if it would drive any warehouse stock negative.
| Line | Problem |
|---|---|
| {{ line }} | {{ msg }} |
File is valid. Use "Validate and import" to load it.
| Line | Date | SKU | Warehouse | Kind | Qty | Unit cost |
|---|---|---|---|---|---|---|
| {{ r.line }} | {{ r.date }} | {{ r.sku }} | {{ r.warehouse }} | {{ r.kind }} | {{ r.qty }} | {{ r.unit_cost|default_if_none:"" }} |