frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.96k stars 7.36k forks source link

fix: Get submitted documents in validate_for_closed_fiscal_year (backport #44246) #44286

Closed mergify[bot] closed 10 hours ago

mergify[bot] commented 10 hours ago

Issue:

While updating a submitted "Purchase invoice" that is between the fiscal year of a cancelled "Period Closing Voucher" it was throwing the following popup:

image

image

Backport needed: Version 15


This is an automatic backport of pull request #44246 done by Mergify.

mergify[bot] commented 10 hours ago

Cherry-pick of c607e5f940d7032cc7c11d870d3bf99b30bcef4c has failed:

On branch mergify/bp/version-14-hotfix/pr-44246
Your branch is up to date with 'origin/version-14-hotfix'.

You are currently cherry-picking commit c607e5f940.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   erpnext/accounts/doctype/repost_accounting_ledger/repost_accounting_ledger.py

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally