Serial No, wont relates to the warehouse
The serial no, picker wont follow the target serial no
This commit is contained in:
parent
ef31637549
commit
7cffd618ab
@ -314,7 +314,7 @@ erpnext.SerialNoBatchSelector = Class.extend({
|
|||||||
fieldtype: 'Link', fieldname: 'serial_no_select', options: 'Serial No',
|
fieldtype: 'Link', fieldname: 'serial_no_select', options: 'Serial No',
|
||||||
label: __('Select'),
|
label: __('Select'),
|
||||||
get_query: function() {
|
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) {
|
onchange: function(e) {
|
||||||
if(this.in_local_change) return;
|
if(this.in_local_change) return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user