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: do not validate purchase document for composite asset #43233

Merged

Conversation

khushi8112
Copy link
Member

This PR modifies the validate_make_gl_entry method to skip the purchase document validation for capitalized assets, as they do not have associated purchase receipts or invoices.

no-docs

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Sep 16, 2024
@khushi8112 khushi8112 added backport version-15-hotfix and removed needs-tests This PR needs automated unit-tests. labels Sep 16, 2024
@khushi8112 khushi8112 merged commit cd484c5 into frappe:develop Sep 16, 2024
14 checks passed
khushi8112 added a commit that referenced this pull request Sep 17, 2024
…-43233

fix: do not validate purchase document for composite asset (backport #43233)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 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.

1 participant