mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] reconciles not being sorted
This commit is contained in:
@@ -299,7 +299,7 @@ class AccountMassReconcile(models.Model):
|
|||||||
if run_all:
|
if run_all:
|
||||||
reconciles.run_reconcile()
|
reconciles.run_reconcile()
|
||||||
return True
|
return True
|
||||||
reconciles.sorted(key=_get_date)
|
reconciles = reconciles.sorted(key=_get_date)
|
||||||
older = reconciles[0]
|
older = reconciles[0]
|
||||||
older.run_reconcile()
|
older.run_reconcile()
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user