InvenTree/docs/docs
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
..
api Transfer Order (#11281) 2026-05-22 17:08:40 +10:00
app Update to /api/barcode/po-recieve/ error messages (#11369) 2026-05-31 18:45:23 +10:00
assets [UI] Tree improvements (#12204) 2026-06-19 15:33:12 +10:00
barcodes Barcode scan tweaks (#10992) 2025-12-11 16:19:47 +11:00
concepts Report locale updates (#12208) 2026-06-20 11:00:12 +10:00
develop Small docs changes (formatting) (#12073) 2026-06-03 12:01:43 +10:00
javascripts feat(docs): add architecture/roadmap (#9624) 2025-06-13 11:28:02 +10:00
manufacturing [Feature] SalesOrder Auto-Allocate (#12000) 2026-05-26 23:21:06 +10:00
part [docs] Update documentation (#11997) 2026-05-24 10:05:06 +10:00
plugins Add HMR and React Fast Refresh support (#12060) 2026-06-05 23:21:12 +10:00
project docs: rename ressouce details (#12005) 2026-05-26 13:07:04 +10:00
purchasing [docs] Docs updates (#10678) 2025-10-26 17:16:59 +11:00
releases [plugin] Auto issue orders (#9565) 2025-06-03 17:07:12 +10:00
report Report locale updates (#12208) 2026-06-20 11:00:12 +10:00
sales [Feature] SalesOrder Auto-Allocate (#12000) 2026-05-26 23:21:06 +10:00
settings Improve security posture of PDF reporting (#12160) 2026-06-14 10:55:51 +10:00
start Locked plugin settings (#12093) 2026-06-06 11:39:21 +10:00
stock Count to location (#12019) 2026-05-27 23:41:40 +10:00
stylesheets Render API docs (#6463) 2024-03-02 11:28:37 +11:00
webfonts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
__init__.py Fixes for docs building (#4659) 2023-04-22 23:35:25 +10:00
demo.md Invoke docs (#8373) 2024-10-27 10:51:51 +11:00
faq.md Small docs changes (formatting) (#12073) 2026-06-03 12:01:43 +10:00
hooks.py Ensure configuration settings are documented (#11674) 2026-04-21 12:23:53 +10:00
index.md Docs refactor (#9545) 2025-04-22 08:18:32 +10:00
privacy.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
security.md sqlite limitation docs (#12003) 2026-05-26 07:03:38 +10:00
troubleshooting.md Docs updates (#10912) 2025-11-26 21:27:13 +11:00