Serial No, wont relates to the warehouse
The serial no, picker wont follow the target serial no
diff --git a/erpnext/public/js/utils/serial_no_batch_selector.js b/erpnext/public/js/utils/serial_no_batch_selector.js
index a974b99..a4d7265 100644
--- a/erpnext/public/js/utils/serial_no_batch_selector.js
+++ b/erpnext/public/js/utils/serial_no_batch_selector.js
@@ -314,7 +314,7 @@
fieldtype: 'Link', fieldname: 'serial_no_select', options: 'Serial No',
label: __('Select'),
get_query: function() {
- return { filters: {item_code: me.item_code}};
+ return { filters: {item_code: me.item_code, warehouse: me.warehouse_details.name}};
},
onchange: function(e) {
if(this.in_local_change) return;