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
Collaborator

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant