fix: repost accounting ledgers for skipped records

This commit is contained in:
Rohit Waghchaure
2025-12-10 12:07:46 +05:30
parent 931f0663b1
commit 5757feb45a

View File

@@ -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