From 6b3bdb2e9ea6d2229039c189c3c766b977b2e14e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 29 Mar 2022 13:56:15 +0530 Subject: [PATCH] fix: dont check for failed repost while freezing (backport #30472) (#30473) * fix: dont check for failed repost while freezing (#30472) [skip ci] (cherry picked from commit b12fe0f15bcc5d71c16d5bebc4d494518b6220b4) # Conflicts: # erpnext/stock/utils.py * fix: conflicts [skip ci] Co-authored-by: Ankush Menat --- 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 b843d52b1bf..77f6ec38082 100644 --- a/erpnext/stock/utils.py +++ b/erpnext/stock/utils.py @@ -427,7 +427,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], }