diff --git a/account_mass_reconcile/models/mass_reconcile.py b/account_mass_reconcile/models/mass_reconcile.py index e988fff95a..ce58ecca64 100644 --- a/account_mass_reconcile/models/mass_reconcile.py +++ b/account_mass_reconcile/models/mass_reconcile.py @@ -299,7 +299,7 @@ def _get_date(reconcile): if run_all: reconciles.run_reconcile() return True - reconciles.sorted(key=_get_date) + reconciles = reconciles.sorted(key=_get_date) older = reconciles[0] older.run_reconcile() return True