mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Show Stock Level only if any value(actual, reserved, reserved for production or projected) exists (#9168)
This commit is contained in:
committed by
Nabin Hait
parent
40be3f4048
commit
c849f647f7
@@ -31,6 +31,8 @@ def get_data(item_code=None, warehouse=None, item_group=None,
|
|||||||
tabBin b, tabItem i
|
tabBin b, tabItem i
|
||||||
where
|
where
|
||||||
b.item_code = i.name
|
b.item_code = i.name
|
||||||
|
and
|
||||||
|
(b.projected_qty != 0 or b.reserved_qty != 0 or b.reserved_qty_for_production != 0 or b.actual_qty != 0)
|
||||||
{conditions}
|
{conditions}
|
||||||
order by
|
order by
|
||||||
{sort_by} {sort_order}
|
{sort_by} {sort_order}
|
||||||
|
|||||||
Reference in New Issue
Block a user