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: get prorata depreciation based on total days per year #41420

Conversation

khushi8112
Copy link
Collaborator

@khushi8112 khushi8112 commented May 12, 2024

Previously depreciation calculation happens as per the total no. of days in the whole depreciation period and based on that it calculates per month depreciation.

But as per the expectation first the yearly depreciation calculation should happen then from the yearly depreciation, monthly depreciation should be calculated.
Depreciation calculation before the changes.
Screenshot 2024-05-14 at 11 15 28 AM

Depreciation calculation after changes
Screenshot 2024-05-14 at 11 14 44 AM

no-docs

@nabinhait nabinhait merged commit 16751ec into frappe:develop May 14, 2024
14 checks passed
nabinhait added a commit that referenced this pull request May 14, 2024
…-41420

Get prorata depreciation based on total days per year (backport #41420)
@khushi8112 khushi8112 changed the title Get prorata depreciation based on total days per year fix: get prorata depreciation based on total days per year May 15, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants