fix: dont check for failed repost while freezing (#30472)

[skip ci]
This commit is contained in:
Ankush Menat
2022-03-29 13:54:26 +05:30
committed by GitHub
parent d29e314c81
commit b12fe0f15b

View File

@@ -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],
}