From 98dc097ca8f577a627273808c2cdb08d929f6710 Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Fri, 28 Mar 2025 23:43:25 +0530 Subject: [PATCH] fix: incorrect condition --- erpnext/public/js/controllers/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index ef7e77ca43..17bd982ecb 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -358,7 +358,7 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe let d = locals[cdt][cdn]; return { filters: { - docstatus: ("<", 2), + docstatus: ["<", 2], inspection_type: inspection_type, reference_name: doc.name, item_code: d.item_code -- GitLab