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?
to your account
Auto posting rules affect the whole current file and any parent or child file, but not sibling files (as with multiple -f options). The docs at https://hledger.org/journal.html#auto-postings-transaction-modifiers are not clear on this. Also auto posting rules' and periodic transaction rules' scope should be mentioned in the https://hledger.org/journal.html#directives reference table, probably.
Workaround for now: instead of multiple -f options, include all files in a single top level file and put auto posting rules there.
Related code: Hledger.Cli.Utils withJournalDo -> journalTransform -> journalAddForecast
The text was updated successfully, but these errors were encountered:
;journal: clarify scope of auto posting rules (#1212)
No branches or pull requests