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: Payment Reconciliation party validation issue #26737

Merged

Conversation

nemesis189
Copy link
Contributor

@nemesis189 nemesis189 commented Jul 30, 2021

Problem :
During Payment Reconciliation, while creating new journal entries in the process the party validation caused problems for customers that were once active but now disabled.
So this means all the parties in the journal entry associated with the reconciliation needed to be active and not disabled, which is not ideal.

Solution :
Added a flag to ignore the validate_party_frozen_disabled check during the validation.

Steps:

  1. create a journal entries with 2 different customers( any party)

  2. submit the entry

  3. disable one of the parties(in this case i disabled cust2)

  4. Go to Payment Reconciliation, set the mandatory fields and click 'Get Unreconciled Entries', you should get the journal entry you made recently

  5. Try and reconcile payment against that Journal entry, you should not get any errors now

@nextchamp-saqib nextchamp-saqib changed the title Fix: Payment Reconciliation party validation issue fix: Payment Reconciliation party validation issue Aug 4, 2021
@deepeshgarg007 deepeshgarg007 merged commit 869e36c into frappe:develop Aug 19, 2021
@frappe-pr-bot
Copy link
Collaborator

The backport to version-12-hotfix failed.
Please backport the PR manually. 🤖

The process '/usr/bin/git' failed with exit code 1

@frappe-pr-bot
Copy link
Collaborator

The backport to version-13-hotfix failed.
Please backport the PR manually. 🤖

The process '/usr/bin/git' failed with exit code 1

@AfshanKhan
Copy link
Contributor

@nemesis189 the backports have failed. You will need to create them manually.

asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
…validation-fix

fix: Payment Reconciliation party validation issue
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.

None yet

5 participants