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

DaLI generated config overwrites account_methods section #136

Open
orientalperil opened this issue Dec 14, 2024 · 1 comment
Open

DaLI generated config overwrites account_methods section #136

orientalperil opened this issue Dec 14, 2024 · 1 comment

Comments

@orientalperil
Copy link

orientalperil commented Dec 14, 2024

For the RP2 config file there is a section that lets you choose a different accounting method for each year:

[accounting_methods]
2020 = fifo
2021 = lifo
2022 = hifo
2023 = fifo

If you put this in your config and then use DaLI to generate files again, it will be overwritten. Also there is no way to express multiple methods for different years on the command line.

So are you supposed to generate files with DaLI and then manually put this into the config file every time?

@eprbell
Copy link
Owner

eprbell commented Dec 15, 2024

Good point. As of today the workaround is to edit manually the generated config, as you mentioned. The correct solution would be to add some pass-through sections in the DaLI config that would be just copied verbatim to the RP2 generated config. I'm currently working on adding support for per-wallet application to RP2 (see #135), so I don't have time to work on this now: if anybody wants to submit PRs, I'll review.

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

No branches or pull requests

2 participants