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

fix: missing def expense if no exp in first month #40865

Merged
merged 4 commits into from Apr 29, 2024

Conversation

rtdany10
Copy link
Contributor

@rtdany10 rtdany10 commented Apr 4, 2024

Deferred Expense (or Income)
Assume the service starts on last day of the month and the amount isn't big.
Monthly calculation and rounding causes the amount to be zero.

This triggers a return statement and expense isn't booked for any month, including future ones.

@github-actions github-actions bot added accounts needs-tests This PR needs automated unit-tests. labels Apr 4, 2024
Copy link

stale bot commented Apr 22, 2024

This pull request has been automatically marked as inactive because it has not had recent activity. It will be closed within 3 days if no further activity occurs, but it only takes a comment to keep a contribution alive :) Also, even if it is closed, you can always reopen the PR when you're ready. Thank you for contributing.

@stale stale bot added the inactive label Apr 22, 2024
@rtdany10
Copy link
Contributor Author

@rtdany10
Copy link
Contributor Author

Please merge the same and backport

@stale stale bot removed the inactive label Apr 23, 2024
@deepeshgarg007 deepeshgarg007 merged commit 9e2ecd6 into frappe:develop Apr 29, 2024
13 checks passed
deepeshgarg007 added a commit that referenced this pull request Apr 29, 2024
…-40865

fix: missing def expense if no exp in first month (#40865)
@rtdany10
Copy link
Contributor Author

rtdany10 commented May 7, 2024

@deepeshgarg007 backport to v14 also please

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
accounts backport version-15-hotfix needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants