fix: only show child warehouses for transfer

This commit is contained in:
Ankush Menat 2022-01-26 01:01:10 +05:30 committed by Ankush Menat
parent 0624b7f1ab
commit 88a21ca7d2

View File

@ -213,7 +213,14 @@ erpnext.stock.move_item = function (item, source, target, actual_qty, rate, call
label: __('Target Warehouse'),
fieldtype: 'Link',
options: 'Warehouse',
reqd: 1
reqd: 1,
get_query() {
return {
filters: {
is_group: 0
}
}
}
},
{
fieldname: 'qty',