usawa

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

commit 39bf6f7446a871261dc7d90ac2279902682c7985
parent 244333daaf88c1f35f08c10266e3978ccd1e34cb
Author: lash <dev@holbrook.no>
Date:   Fri,  1 May 2026 20:09:12 -0600

Change remaining entrypart calls

Diffstat:
Mdummy/usawa/cli/entry.py | 2+-
Mdummy/usawa/runnable/entry.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dummy/usawa/cli/entry.py b/dummy/usawa/cli/entry.py @@ -339,7 +339,7 @@ class EntrySession: amount = parse_amount(self.ctx, account.sym, v) isdebit = self.part_side=='src' - part = EntryPart(account.sym, account.typ.value.lower(), account.to_path(display=AccountDisplay.path), amount, debit=isdebit) + part = EntryPart(account, amount, debit=isdebit) self.entry.add_part(part) if self.part_side == 'src': diff --git a/dummy/usawa/runnable/entry.py b/dummy/usawa/runnable/entry.py @@ -13,7 +13,7 @@ from whee.fs import FsStore import usawa.config from usawa.context import UsawaContext -from usawa import Entry, Ledger, EntryPart, Asset, DemoWallet +from usawa import Entry, Ledger, Asset, DemoWallet from usawa.store import LedgerStore from usawa.resolve.fs import FSResolver from usawa.account import Account, AccountIndex, AccountType, AccountDisplay