usawa

Signed, immutable accounting.
Info | Log | Files | Refs | Submodules | LICENSE

commit 2685c0cb4f131c3e70f2b7f3a8868f3176394c4f
parent f8d3bdb1d0dad727132590b4d025801d1e4daf98
Author: Carlosokumu <carlosokumu254@gmail.com>
Date:   Thu, 19 Feb 2026 20:43:10 +0300

use ledger.peek() for next serial

Diffstat:
Mdummy/usawa/storage/entry_mapper.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dummy/usawa/storage/entry_mapper.py b/dummy/usawa/storage/entry_mapper.py @@ -42,7 +42,7 @@ class EntryMapper: ref = domain.transaction_ref if domain.transaction_ref else None entry = Entry( - serial= 1, + serial= ledger.peek(), tx_date=tx_date, parent=parent, description=domain.description or "",