3.8 KiB
| title |
|---|
| Sample Templates |
Sample Templates
A number of pre-built templates are provided with InvenTree, which can be used as a starting point for creating custom reports and labels.
Users can create their own custom templates, or modify the provided templates to suit their needs.
Report Templates
The following report templates are provided "out of the box" and can be used as a starting point, or as a reference for creating custom reports templates:
| Template | Model Type | Description |
|---|---|---|
| Bill of Materials | Part | Bill of Materials report |
| Build Order | BuildOrder | Build Order report |
| Purchase Order | PurchaseOrder | Purchase Order report |
| Return Order | ReturnOrder | Return Order report |
| Sales Order | SalesOrder | Sales Order report |
| Sales Order Shipment | SalesOrderShipment | Sales Order Shipment report |
| Stock Location | StockLocation | Stock Location report |
| Test Report | StockItem | Test Report |
| Transfer Order | TransferOrder | Transfer Order report |
| Selected Stock Items Report | StockItem | Selected Stock Items report |
Bill of Materials Report
{{ templatefile("report/inventree_bill_of_materials_report.html") }}
Build Order
{{ templatefile("report/inventree_build_order_report.html") }}
Purchase Order
{{ templatefile("report/inventree_purchase_order_report.html") }}
Return Order
{{ templatefile("report/inventree_return_order_report.html") }}
Sales Order
{{ templatefile("report/inventree_sales_order_report.html") }}
Sales Order Shipment
{{ templatefile("report/inventree_sales_order_shipment_report.html") }}
Stock Location
{{ templatefile("report/inventree_stock_location_report.html") }}
Test Report
{{ templatefile("report/inventree_test_report.html") }}
Transfer Order
{{ templatefile("report/inventree_transfer_order_report.html") }}
Selected Stock Items Report
{{ templatefile("report/inventree_stock_report_merge.html") }}
Label Templates
The following label templates are provided "out of the box" and can be used as a starting point, or as a reference for creating custom label templates:
| Template | Model Type | Description |
|---|---|---|
| Build Line | Build line item | Build Line label |
| Part | Part | Part label (QR code and part name) |
| Part (Code128) | Part | Part label (Code128 barcode) |
| Stock Item | StockItem | Stock Item label |
| Stock Location | StockLocation | Stock Location label (QR code) |
| Stock Location (with text) | StockLocation | Stock Location label (QR code and location details) |
Build Line Label
{{ templatefile("label/buildline_label.html") }}
Part Label
{{ templatefile("label/part_label.html") }}
Part Label (Code128)
{{ templatefile("label/part_label_code128.html") }}
Stock Item Label
{{ templatefile("label/stockitem_qr.html") }}
Stock Location Label
{{ templatefile("label/stocklocation_qr.html") }}
Stock Location Label (with text)
{{ templatefile("label/stocklocation_qr_and_text.html") }}