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

[Bug]: End of month cleanup should ignore rollover categories #2294

Closed
1 of 5 tasks
kymckay opened this issue Jan 28, 2024 · 2 comments · Fixed by #2295
Closed
1 of 5 tasks

[Bug]: End of month cleanup should ignore rollover categories #2294

kymckay opened this issue Jan 28, 2024 · 2 comments · Fixed by #2295
Labels
bug Something isn't working

Comments

@kymckay
Copy link
Contributor

kymckay commented Jan 28, 2024

Verified issue does not already exist?

  • I have searched and found no existing issue

Is this related to GoCardless, Simplefin or another bank-sync provider?

  • I have checked my server logs and could not see any errors there
  • I will be attaching my server logs to this issue
  • I will be attaching my client-side (browser) logs to this issue
  • I understand that this issue will be automatically closed if insufficient information is provided

What happened?

  1. Overspend a category and set it to roll over.
  2. Add #cleanup source to the category.
  3. Create another category with #cleanup sink.
  4. Run end of month clean up. The overspend is covered by putting the sink category into overspend instead.

Perhaps this is desirable? I can't decide, but it didn't feel intuitive to me since I explicitly set the overspend to roll over. With the intention of covering it with reimbursement the following month.

What error did you receive?

No response

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Linux

@kymckay kymckay added the bug Something isn't working label Jan 28, 2024
@shall0pass
Copy link
Contributor

I see what you're saying. And I think the behavior exists for both rollover and non-rollover categories.

I could potentially see a use case to change add a negative value to a rollover category to fund another category. Specifically, I'm thinking about a 'credit debt' type category. But I think I agree with you that maybe shouldn't be the default behavior but could possibly be specified by a flag.

We can and should add a check for 'source' categories to make sure the balance is positive before taking money from it.

@shall0pass
Copy link
Contributor

@kymckay Would you mind trying #2295 . I added additional logic for rollover categories (where the documentation would need to be changed), so I could remove that if it breaks peoples workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants