Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][FIX] account_mass_reconcile: reconciles not being sorted #651

Merged
merged 1 commit into from
Jan 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion account_mass_reconcile/models/mass_reconcile.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
if run_all:
reconciles.run_reconcile()
return True
reconciles.sorted(key=_get_date)
reconciles = reconciles.sorted(key=_get_date)

Check warning on line 302 in account_mass_reconcile/models/mass_reconcile.py

View check run for this annotation

Codecov / codecov/patch

account_mass_reconcile/models/mass_reconcile.py#L302

Added line #L302 was not covered by tests
older = reconciles[0]
older.run_reconcile()
return True
Loading