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

refactor: payment reconciliation tool #27128

Merged

Conversation

Anuja-pawar
Copy link
Contributor

@Anuja-pawar Anuja-pawar commented Aug 24, 2021

Issue:
The problem with existing tool is that a user has to manually select invoices to reconcile against payments and, only one invoice can be reconciled against particular payment at a time which makes it tedious for the cases where multiple invoices are to be reconciled against single payment or vice versa

E.g. A single payment against multiple invoices
Suppose there are 50 invoices, a user will have to select an invoice against the payment 50 times and, GL Entry of this payment also gets cancelled & submitted 50 times

Fix:
Using this refactored tool, a user will be able to select any invoice or payment to reconcile.
Once the unreconciled entries are fetched, a user can either select any particular entries or just click on Allocate button without selecting anything, Allocation table will be populated based on FIFO and/or selection, and then click on Reconcile button to reconcile all the allocated entries.

payment_recon

  • Added filter for payment transactions
  • Created separate tables for payments & invoices
  • Added new table 'Allocation'
  • Minor UI clean-up
  • Update docs

@nextchamp-saqib nextchamp-saqib changed the title fix: payment reconciliation redesign refactor: payment reconciliation form Aug 25, 2021
@AfshanKhan AfshanKhan changed the title refactor: payment reconciliation form perf: payment reconciliation redesign Aug 25, 2021
@nextchamp-saqib nextchamp-saqib changed the title perf: payment reconciliation redesign refactor: payment reconciliation tool Aug 25, 2021
@coveralls
Copy link

coveralls commented Aug 27, 2021

Coverage Status

Coverage remained the same at 51.55% when pulling b704333 on Anuja-pawar:payment-reconciliation-tool into 1682402 on frappe:develop.

@nextchamp-saqib nextchamp-saqib added backport version-13-hotfix and removed CI-failing Unit tests or patch tests are failing. labels Aug 27, 2021
@nextchamp-saqib nextchamp-saqib merged commit 3e404f1 into frappe:develop Aug 31, 2021
frappe-pr-bot pushed a commit to frappe-pr-bot/erpnext that referenced this pull request Aug 31, 2021
(cherry picked from commit 3e404f1)

# Conflicts:
#	erpnext/accounts/doctype/payment_reconciliation/payment_reconciliation.js
#	erpnext/accounts/utils.py
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 2021
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

4 participants