From 5757feb45ae907f4c203069aa6141fb4a1094ff7 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 10 Dec 2025 12:07:46 +0530 Subject: [PATCH] fix: repost accounting ledgers for skipped records --- .../doctype/repost_item_valuation/repost_item_valuation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py b/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py index 99f1d3539ec..a6899207281 100644 --- a/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py +++ b/erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py @@ -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