fix: set fieldname for frappe prompt (#16198)

This commit is contained in:
Valmik 2018-12-24 14:54:06 +05:30 committed by Rushabh Mehta
parent 1790a6faaa
commit 78bc405eeb

View File

@ -42,7 +42,7 @@ frappe.ui.form.on("Stock Reconciliation", {
},
get_items: function(frm) {
frappe.prompt({label:"Warehouse", fieldtype:"Link", options:"Warehouse", reqd: 1,
frappe.prompt({label:"Warehouse", fieldname: "warehouse", fieldtype:"Link", options:"Warehouse", reqd: 1,
"get_query": function() {
return {
"filters": {