From 13bebe71b0bcbdc7968433d070825c58136d6be1 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) --- 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 a000cdee7cc..cd851b57972 100755 --- a/erpnext/public/js/utils.js +++ b/erpnext/public/js/utils.js @@ -661,7 +661,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,