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

feat: Create single PE to reconcile multiple unpaid invoices #75

Merged
merged 10 commits into from
May 23, 2024

Conversation

marination
Copy link
Member

@marination marination commented Nov 2, 2023

Depends on frappe/erpnext#38074

Closes #73, #81, #72 and #84

  • Create single PE while reconciling unpaid invoices and expense claim

  • Validation to make sure only a single doctype and single party invoices are paid while reconciling (while make PE)

  • The Invoice is split into multiple rows in the PE if it has a payment terms template (like installments)

  • feat: Make PE from unpaid invoices on Bank Transaction Date (while doing so make sure the Bank Transaction is not in a closed period)

  • fix: Make sure allow_edit receives bool from JS and use sbool to convert string to bool (cint was faulty, it converts "true" to 0)

  • Validate over allocation in BT
    Screenshot 2024-04-17 at 3 02 34 PM

  • Tests

@marination marination linked an issue Nov 3, 2023 that may be closed by this pull request
@marination marination marked this pull request as ready for review April 11, 2024 17:49
- Keep type consistent, use boolean everywhere for `allow_edit`
@marination marination requested a review from barredterra April 12, 2024 14:51
…r submit

- Overallocation is generally not possible from the Bank Reco UI
- But was possible manually in a Bank Transaction
@barredterra barredterra self-assigned this Apr 22, 2024
@barredterra barredterra merged commit edade72 into version-14 May 23, 2024
2 checks passed
@barredterra barredterra deleted the aggregate-pe branch May 23, 2024 15:43
@barredterra
Copy link
Member

@Mergifyio backport version-15

Copy link
Contributor

mergify bot commented May 23, 2024

backport version-15

✅ Backports have been created

@barredterra barredterra removed their assignment May 23, 2024
marination added a commit that referenced this pull request Jun 3, 2024
feat: Create single PE to reconcile multiple unpaid invoices (backport #75)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants