From 1e138064a8b5bea62e3ca15e14d72edb55c3d0ed Mon Sep 17 00:00:00 2001 From: Sanket322 Date: Thu, 6 Feb 2025 17:55:37 +0530 Subject: [PATCH] fix: update ctx to args (cherry picked from commit d4bc3d182fb7bb4409fcca949b7ff338984496f7) (cherry picked from commit 573ce645b2e89c2c1dc98f74477114674fe3981c) --- erpnext/public/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/utils.js b/erpnext/public/js/utils.js index b51d10666a8..c2b068b6e62 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -635,7 +635,7 @@ erpnext.utils.update_child_items = function (opts) { method: "erpnext.stock.get_item_details.get_item_details", args: { doc: frm.doc, - ctx: { + args: { item_code: this.value, set_warehouse: frm.doc.set_warehouse, customer: frm.doc.customer || frm.doc.party_name,