refactor: order by posting date

(cherry picked from commit 7b7440d44a)
This commit is contained in:
ruthra kumar
2025-06-04 14:30:31 +05:30
committed by Mergify
parent dd1020ccfb
commit ba25d334b1

View File

@@ -359,7 +359,7 @@ class ReceivablePayableReport:
sum(paid_in_account_currency) `paid_in_account_currency`,
sum(credit_note_in_account_currency) `credit_note_in_account_currency`,
sum(invoiced_in_account_currency) - sum(paid_in_account_currency) - sum(credit_note_in_account_currency) `outstanding_in_account_currency`
from `{self.proc._voucher_balance_name}` group by name;""",
from `{self.proc._voucher_balance_name}` group by name order by posting_date;""",
as_dict=True,
)
for x in res: