From b12fe0f15bcc5d71c16d5bebc4d494518b6220b4 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 29 Mar 2022 13:54:26 +0530 Subject: [PATCH] fix: dont check for failed repost while freezing (#30472) [skip ci] --- erpnext/stock/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/stock/utils.py b/erpnext/stock/utils.py index 741646dfff6..4f1891fd750 100644 --- a/erpnext/stock/utils.py +++ b/erpnext/stock/utils.py @@ -526,7 +526,7 @@ def check_pending_reposting(posting_date: str, throw_error: bool = True) -> bool filters = { "docstatus": 1, - "status": ["in", ["Queued", "In Progress", "Failed"]], + "status": ["in", ["Queued", "In Progress"]], "posting_date": ["<=", posting_date], }