diff --git a/docs/report/report.md b/docs/report/report.md index 80bb326..31208d3 100644 --- a/docs/report/report.md +++ b/docs/report/report.md @@ -75,6 +75,61 @@ Item: {{ item }} !!! info "Conditionals" Refer to the [django template language documentation](https://docs.djangoproject.com/en/dev/ref/templates/language/) for more information. +### Localization Issues + +Depending on your localization scheme, inputting raw numbers into the formatting section template can cause some unintended issues. Consider the block below which specifies the page size for a rendered template: + +```html +{% raw %} + + + +{% endraw %} +``` + +If localization settings on the InvenTree server use a comma (`,`) character as a decimal separator, this may produce an output like: + +```html +{% raw %} +{% endraw %} + + + +``` + +The resulting `{% raw %} + +{% endraw %} +``` + +!!! tip "Close it out" + Don't forget to end with a `{% raw %}{% endlocalize %}{% endraw %}` tag! + + ## Report Types InvenTree supports the following reporting functionality: