InvenTree/docs/docs/concepts
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
..
attachments.md [refactor] Attachment images (#11961) 2026-05-22 23:37:32 +10:00
company.md Missed one (#10696) 2025-10-28 17:54:48 +11:00
custom_states.md [docs] Update documentation (#11997) 2026-05-24 10:05:06 +10:00
data_export.md [docs] Update documentation (#11997) 2026-05-24 10:05:06 +10:00
data_import.md [docs] Update documentation (#11997) 2026-05-24 10:05:06 +10:00
parameters.md Selection lists updates (#11705) 2026-04-10 09:22:12 +10:00
pricing.md Report locale updates (#12208) 2026-06-20 11:00:12 +10:00
project_codes.md [docs] Docs updates (#10678) 2025-10-26 17:16:59 +11:00
tags.md [feature] tags support (#12077) 2026-06-04 19:38:22 +10:00
terminology.md Add database model for defining custom units (#5268) 2023-07-19 06:24:16 +10:00
threat_model.md docs: add more details around staff / superuser roles and their dangers (#11658) 2026-04-02 10:40:10 +11:00
units.md Selection lists updates (#11705) 2026-04-10 09:22:12 +10:00
user_interface.md [UI] Tree improvements (#12204) 2026-06-19 15:33:12 +10:00