mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix: only show child warehouses for transfer
This commit is contained in:
committed by
Ankush Menat
parent
0624b7f1ab
commit
88a21ca7d2
@@ -213,7 +213,14 @@ erpnext.stock.move_item = function (item, source, target, actual_qty, rate, call
|
|||||||
label: __('Target Warehouse'),
|
label: __('Target Warehouse'),
|
||||||
fieldtype: 'Link',
|
fieldtype: 'Link',
|
||||||
options: 'Warehouse',
|
options: 'Warehouse',
|
||||||
reqd: 1
|
reqd: 1,
|
||||||
|
get_query() {
|
||||||
|
return {
|
||||||
|
filters: {
|
||||||
|
is_group: 0
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldname: 'qty',
|
fieldname: 'qty',
|
||||||
|
|||||||
Reference in New Issue
Block a user