fix: unused variable cdn removed

This commit is contained in:
Yugandhara 2020-02-15 16:14:46 +05:30
parent af2b39891e
commit e997168a23

View File

@ -297,7 +297,7 @@ frappe.ui.form.on("Material Request Plan Item", {
}
});
cur_frm.fields_dict['sales_orders'].grid.get_field("sales_order").get_query = function(doc, cdt, cdn) {
cur_frm.fields_dict['sales_orders'].grid.get_field("sales_order").get_query = function(doc) {
return{
filters: [
['Sales Order','docstatus', '=' ,1]