Skip to content

Commit 204ec14

Browse files
committed
- **Added new configuration option for transaction matching:**
- Introduced `DJANGO_LEDGER_MATCH_DAYS_WINDOW` with a default value of 7 days for matching logic. - **Version bump:** - Updated version in `pyproject.toml` and `__init__.py` from `0.8.2.3` to `0.8.3`. ### **Summary** Added configurable `DJANGO_LEDGER_MATCH_DAYS_WINDOW` setting to enhance transaction matching flexibility. Incremented version to `0.8.3` to reflect these changes. ### **Backwards Compatibility** These changes are backwards compatible. Default value ensures current behavior is maintained unless explicitly overridden.
1 parent 20a4334 commit 204ec14

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

django_ledger/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
default_app_config = 'django_ledger.apps.DjangoLedgerConfig'
77

88
"""Django Ledger"""
9-
__version__ = '0.8.2.3'
9+
__version__ = '0.8.3'
1010
__license__ = 'GPLv3 License'
1111

1212
__author__ = 'Miguel Sanda'

django_ledger/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
'django_ledger.models.invoice.InvoiceModelAbstract')
5353

5454
DJANGO_LEDGER_DEFAULT_COA = getattr(settings, 'DJANGO_LEDGER_DEFAULT_COA', None)
55+
DJANGO_LEDGER_MATCH_DAYS_WINDOW = getattr(settings, 'DJANGO_LEDGER_MATCH_DAYS_WINDOW', 7)
5556

5657
DJANGO_LEDGER_FINANCIAL_ANALYSIS = {
5758
'ratios': {

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "django-ledger"
3-
version = "0.8.2.3"
3+
version = "0.8.3"
44
readme = "README.md"
55
requires-python = ">=3.11"
66
description = "Double entry accounting system built on the Django Web Framework."

0 commit comments

Comments
 (0)