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: improved the conditions for determining voucher subtypes #43273

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ljain112
Copy link
Contributor

  • Removed Debit Note And Credit Note for Sales Invoice and Purchase Invoice because it was confusing for users.
  • Added Debit Note when Sales Invoice and is_debit_note

Closes: #39382, #39382
Frappe Support Issue: https://support.frappe.io/app/hd-ticket/18562

@github-actions github-actions bot added accounts needs-tests This PR needs automated unit-tests. labels Sep 18, 2024
@vorasmit
Copy link
Collaborator

@ruthra-kumar, Should we patch this?

@ruthra-kumar ruthra-kumar requested review from ruthra-kumar and removed request for rohitwaghchaure and deepeshgarg007 September 24, 2024 05:23
@ruthra-kumar ruthra-kumar self-assigned this Sep 24, 2024
@ruthra-kumar
Copy link
Member

@ruthra-kumar, Should we patch this?

Yes.

When this field was introduced, we intentionally didn't patch old data. So, while patching now, we only have to worry about rows with voucher_subtype already set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accounts needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect Voucher Subtype
3 participants