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: Handling circular linking while cancelling asset capitalization #39814

Merged

Conversation

nabinhait
Copy link
Member

  • While cancelling asset capitalization, the system was trying to cancel linked assent movement twice.
  • On cancellation, target asset should be deleted if it is in the draft and created via capitalization
  • Restore depreciation schedule of consumed asset on cancellation of capitalization

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Feb 8, 2024
@nabinhait nabinhait force-pushed the asset-capitalization-cancellation branch from c5e89eb to f2d094d Compare February 8, 2024 10:21
@nabinhait nabinhait merged commit 6460e64 into frappe:version-14-hotfix Feb 13, 2024
9 of 10 checks passed
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.62.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@@ -77,15 +77,17 @@ def on_cancel(self):
"Stock Ledger Entry",
"Repost Item Valuation",
"Asset",
"Asset Movement"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theres a comma missing here, as indicated by the linter failure on this PR. After merging without fixing this, the linter fails for all other PRs 😢 .

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

Successfully merging this pull request may close these issues.

3 participants