Merge pull request #51007 from rohitwaghchaure/fixed-reposting-only-gl

fix: repost accounting ledgers for skipped records
This commit is contained in:
rohitwaghchaure
2025-12-10 15:12:30 +05:30
committed by GitHub

View File

@@ -554,7 +554,8 @@ def repost_entries():
if (
doc.repost_only_accounting_ledgers
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