mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms_api_rest: Cash flow - ensure get last statement
This commit is contained in:
@@ -320,6 +320,7 @@ class PmsTransactionService(Component):
|
||||
[
|
||||
("journal_id", "=", cash_register_search_param.journalId),
|
||||
],
|
||||
order="date desc, id desc",
|
||||
limit=1,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user