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: clear payment schedule in purchase invoice for is_paid #44892

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

Sanket322
Copy link
Contributor

Issue: Support Ticket - 25598

When is_paid is marked for a purchase invoice, the payment_terms_template was not cleared, which resulted in an error during the validation process.
Screenshot 2024-12-24 at 4 46 41 PM

@github-actions github-actions bot added accounts needs-tests This PR needs automated unit-tests. labels Dec 24, 2024
@Sanket322 Sanket322 marked this pull request as draft December 24, 2024 11:21
@Sanket322 Sanket322 marked this pull request as ready for review December 24, 2024 11:42
@ruthra-kumar ruthra-kumar self-assigned this Dec 27, 2024
@ruthra-kumar ruthra-kumar removed the request for review from rohitwaghchaure December 27, 2024 06:47
validate_advance_entries() has a heavy IO bound operation. Early
return on unwanted cases is always better.
@ruthra-kumar
Copy link
Member

@Sanket322

validate_advance_entries() has a heavy IO bound operation. So, early return on unwanted cases is always better.

@ruthra-kumar ruthra-kumar merged commit bcae281 into frappe:develop Dec 27, 2024
18 checks passed
ruthra-kumar added a commit that referenced this pull request Dec 27, 2024
…-44892

fix: clear payment schedule in purchase invoice for is_paid (backport #44892)
ruthra-kumar added a commit that referenced this pull request Dec 27, 2024
…-44892

fix: clear payment schedule in purchase invoice for is_paid (backport #44892)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accounts backport version-14-hotfix backport to version 14 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.

2 participants