InvenTree/docs/docs/report
Oliver ca16e6ec0a
Report locale updates (#12208)
* Optional 'locale' arg to format_money

- Allows override of system locale when generating reports

* Updated documentation

* Add unit tests

* Handle invalid locale

* Handle invalid locale

* Add new global setting to control currency locale in reports

* Use setting in reports

* Add CHANGELOG entry

* Further unit tests

* Add unit tests for new setting

* Update docs

* More docs

* Refactoring:

- Change REPORT_CURRENCY_LOCALE to REPORT_LOCALE

* Extend unit testing

* Refactor format_number

* Add unit tests for explicit format strings

* Update examples for format_date

* Updated unit  tests

* Cleanup unit tests

* Fix more tests

* Adjust wording

* Remove global setting - simplify code

* Simplify unit tests

* Revert 'min_digits' to 'leading'

* Fix docs

* Refactor the render_currency function

- Move all functionality into report.py

* Cleanup duplicate code

* Updated docs

* Allow user to specify date_format

* Add support for 'leading' digits in render_currency

* Bug fix

* Fix unit test

* Add tests for "include_symbol"
2026-06-20 11:00:12 +10:00
..
barcodes.md [plugin] Auto issue orders (#9565) 2025-06-03 17:07:12 +10:00
context_variables.md Remove reference to lead_time field (#12133) 2026-06-09 16:13:44 +10:00
helpers.md Report locale updates (#12208) 2026-06-20 11:00:12 +10:00
index.md Improve security posture of PDF reporting (#12160) 2026-06-14 10:55:51 +10:00
labels.md [plugin] Auto issue orders (#9565) 2025-06-03 17:07:12 +10:00
report.md Improve security posture of PDF reporting (#12160) 2026-06-14 10:55:51 +10:00
samples.md Report merge (#9532) 2025-06-20 14:06:28 +10:00
template_editor.md feat(docs): add admin center docs (#9646) 2025-05-08 10:20:33 +01:00
weasyprint.md Enable input controls in PDF reports (#10969) 2025-12-07 07:35:52 +11:00