Skip to content

Commit

Permalink
[IMP] lcc_lokavaluto_app_connection: date desc order credit requests
Browse files Browse the repository at this point in the history
in res_partner services response
  • Loading branch information
Stéphan Sainléger committed Feb 21, 2024
1 parent a1b7bd3 commit fd07390
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lcc_lokavaluto_app_connection/services/partner_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ def _get_credit_requests(self, wallet, status):
return [
self._get_credit_request_data(cr)
for cr in CreditRequestSU.search(
[("wallet_id", "=", wallet.id), ("state", "in", status)]
[("wallet_id", "=", wallet.id), ("state", "in", status)],
order="create_date desc",
)
]

Expand Down

0 comments on commit fd07390

Please sign in to comment.