From 03e770782a30bb6ffa9ba010f2d642c1573aece3 Mon Sep 17 00:00:00 2001 From: Khushal Trivedi Date: Wed, 11 Dec 2019 15:24:39 +0530 Subject: [PATCH] fix:Sibling child table filtering for duplacacy on student form --- erpnext/education/doctype/student/student.js | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/education/doctype/student/student.js b/erpnext/education/doctype/student/student.js index ea01b5ded2..1936dcbd3e 100644 --- a/erpnext/education/doctype/student/student.js +++ b/erpnext/education/doctype/student/student.js @@ -46,7 +46,6 @@ frappe.ui.form.on('Student Sibling', { siblings_add: function(frm){ frm.fields_dict['siblings'].grid.get_field('student').get_query = function(doc){ let sibling_list = [frm.doc.name]; - if(!doc.__islocal) sibling_list.push(doc.student); $.each(doc.siblings, function(idx, val){ if (val.student && val.studying_in_same_institute == 'YES') { sibling_list.push(val.student);