mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
Merge pull request #51007 from rohitwaghchaure/fixed-reposting-only-gl
fix: repost accounting ledgers for skipped records
This commit is contained in:
@@ -554,7 +554,8 @@ def repost_entries():
|
|||||||
if (
|
if (
|
||||||
doc.repost_only_accounting_ledgers
|
doc.repost_only_accounting_ledgers
|
||||||
and doc.reposting_reference
|
and doc.reposting_reference
|
||||||
and frappe.db.get_value("Repost Item Valuation", doc.reposting_reference, "status") != "Completed"
|
and frappe.db.get_value("Repost Item Valuation", doc.reposting_reference, "status")
|
||||||
|
not in ["Completed", "Skipped"]
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user