fix: Modify opts parameter misspell (#31476)
Modify opts parameter misspell closes #31474
This commit is contained in:
parent
cdf631b9de
commit
2a619fd789
@ -425,7 +425,7 @@ erpnext.buying.PurchaseOrderController = class PurchaseOrderController extends e
|
|||||||
company: me.frm.doc.company
|
company: me.frm.doc.company
|
||||||
},
|
},
|
||||||
allow_child_item_selection: true,
|
allow_child_item_selection: true,
|
||||||
child_fielname: "items",
|
child_fieldname: "items",
|
||||||
child_columns: ["item_code", "qty"]
|
child_columns: ["item_code", "qty"]
|
||||||
})
|
})
|
||||||
}, __("Get Items From"));
|
}, __("Get Items From"));
|
||||||
|
|||||||
@ -713,7 +713,7 @@ erpnext.utils.map_current_doc = function(opts) {
|
|||||||
get_query: opts.get_query,
|
get_query: opts.get_query,
|
||||||
add_filters_group: 1,
|
add_filters_group: 1,
|
||||||
allow_child_item_selection: opts.allow_child_item_selection,
|
allow_child_item_selection: opts.allow_child_item_selection,
|
||||||
child_fieldname: opts.child_fielname,
|
child_fieldname: opts.child_fieldname,
|
||||||
child_columns: opts.child_columns,
|
child_columns: opts.child_columns,
|
||||||
size: opts.size,
|
size: opts.size,
|
||||||
action: function(selections, args) {
|
action: function(selections, args) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user