Hi Guys ,
I am preparing a query report in which I should select the parent warehouse ? But only the child warehouses are visible . How to achieve this ?
Thanks
Hi Guys ,
I am preparing a query report in which I should select the parent warehouse ? But only the child warehouses are visible . How to achieve this ?
Thanks
Define qet_query while creating filters
{
"fieldname":"warehouse",
"label": __("Warehouse"),
"fieldtype": "Link",
"options": "Warehouse",
"get_query": function() {
return {
"filters": [
['Warehouse', 'is_group', 'in', [0, 1]],
]
}
}
}