[fix] Don't add newline at the end, onchange of serial_no and filter warehouse based on company and is_group (#9809)
This commit is contained in:
committed by
Rushabh Mehta
parent
f012a9db70
commit
79c2191aa3
@@ -50,6 +50,14 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
||||
batches.grid.refresh();
|
||||
batches.grid.add_new_row(null, null, null);
|
||||
}
|
||||
},
|
||||
get_query: function() {
|
||||
return {
|
||||
filters: {
|
||||
is_group: 0,
|
||||
company: me.frm.doc.company
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
{fieldtype:'Column Break'},
|
||||
|
||||
Reference in New Issue
Block a user