fix: only show child warehouses for transfer
This commit is contained in:
parent
0624b7f1ab
commit
88a21ca7d2
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user