Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make 'finialize' can remove current record #144

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

suqin-haha
Copy link
Contributor

@suqin-haha suqin-haha commented Jan 3, 2025

it helps to exclude some records.

Please let me know if there is a better way to do that. :D

@suqin-haha suqin-haha closed this Jan 3, 2025
@suqin-haha suqin-haha reopened this Jan 3, 2025
@suqin-haha suqin-haha changed the title add feature that 'finialize' can remove current record add 'finialize' can remove current record Jan 3, 2025
@suqin-haha suqin-haha changed the title add 'finialize' can remove current record make 'finialize' can remove current record Jan 4, 2025
@dnicolodi
Copy link
Collaborator

Thanks. It looks like an useful addition. I changed the approach slightly, adjusted the docstrings, squashed the commits, and adjusted the commit message. Please have a look.

Returning None from finalize() results in the current transaction
being discarded and in the source row to do not participate in the
determination of the balances.
@dnicolodi dnicolodi merged commit 2fab042 into beancount:master Jan 12, 2025
19 checks passed
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.

2 participants