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);