Skip to content

feat(ledger): a journal entry names the entity it is for - #250

Merged
jfrench9 merged 1 commit into
mainfrom
bugfix/journal-entry-entity
Oct 14, 2026
Merged

jfrench9 merged 1 commit into
mainfrom
bugfix/journal-entry-entity

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

create_journal_entry gains an entity_id argument, so a caller can record a manual journal entry for a subsidiary. Without it the server files the entry on the group parent and refuses the subsidiary's accounts.

Changes

  • robosystems_client/clients/ledger_client.py: create_journal_entry(..., entity_id=None) sets entity_id on the CreateEventBlockRequest when given. Omitted, the request is unchanged.

Compatibility

Additive facade argument: a client minor. No server change needed: create-event-block already honours entity_id.

Testing

Two new tests (the entity is sent; UNSET when omitted). just test-all passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_014Wxgk4yttBxgdE2uBHT71R

@jfrench9
jfrench9 merged commit ca91779 into main Oct 14, 2026
4 checks passed
@jfrench9
jfrench9 deleted the bugfix/journal-entry-entity branch October 14, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant