From ab46f878055098272a9ae05e1bb6e97b0f1c89a7 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 83ca19784f..693559dcce 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -359,7 +359,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