fix: update ctx to args

(cherry picked from commit d4bc3d182f)
This commit is contained in:
Sanket322
2025-02-06 17:55:37 +05:30
committed by Mergify
parent 09cefd9d63
commit 573ce645b2

View File

@@ -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,