From 0a4a09352aebade2a3f7be0c25210a947bf0268c Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Mon, 10 Feb 2025 19:09:02 +0530 Subject: [PATCH] fix: check_item_quality_inspection is not whitelisted --- erpnext/controllers/stock_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/controllers/stock_controller.py b/erpnext/controllers/stock_controller.py index fd92fe104cc..a8f9976c83b 100644 --- a/erpnext/controllers/stock_controller.py +++ b/erpnext/controllers/stock_controller.py @@ -1564,6 +1564,7 @@ def repost_required_for_queue(doc: StockController) -> bool: return False +@frappe.whitelist() def check_item_quality_inspection(doctype, items): if isinstance(items, str): items = json.loads(items)