2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-12-19 18:43:21 +00:00

Updates for 0.11.0 (#468)

* Add release entry for 0.11.x

* Add note about default reports.

* Add brief documentation on report filtering

* Add images for report filter selection

* More report docs

* Cleanup

* Fix filter docs for TestReport

* Update context variables for TestReport

* Add context variable information for purchase order

* Updates for sales order report docs
This commit is contained in:
Oliver
2023-04-18 00:08:46 +10:00
committed by GitHub
parent 7ced6adc1e
commit 148e2bfa94
11 changed files with 110 additions and 17 deletions

View File

@@ -4,10 +4,24 @@ title: Purchase Order Report
## Purchase Order Reports
Custom purchase order reports may be generated against any given [Purchase Order](../buy/po.md). For example, purchase order reports could be used to generate a pdf of the order to send to a supplier.
### Purchase Order Filters
The report template can be filtered against available [Purchase Order](../buy/po.md) instances.
### Context Variables
!!! missing "TODO"
This section requires further work
In addition to the default report context variables, the following variables are made available to the purchase order report template for rendering:
| Variable | Description |
| --- | --- |
| order | The specific Purchase Order object |
| reference | The order reference field (can also be accessed as `{% raw %}{{ order.description }}{% endraw %}`) |
| description | The order description field |
| supplier | The [supplier](../buy/supplier.md) associated with this purchase order |
| lines | A list of available line items for this order |
| extra_lines | A list of available *extra* line items for this order |
### Default Report Template