remove stray code
This commit is contained in:
parent
29c8142678
commit
4990cf7783
@ -47,7 +47,6 @@ def get_batch_qty(batch_no=None, warehouse=None, item_code=None):
|
|||||||
:param batch_no: Optional - give qty for this batch no
|
:param batch_no: Optional - give qty for this batch no
|
||||||
:param warehouse: Optional - give qty for this warehouse
|
:param warehouse: Optional - give qty for this warehouse
|
||||||
:param item_code: Optional - give qty for this item'''
|
:param item_code: Optional - give qty for this item'''
|
||||||
frappe.has_permission('Batch', throw=True)
|
|
||||||
out = 0
|
out = 0
|
||||||
if batch_no and warehouse:
|
if batch_no and warehouse:
|
||||||
out = float(frappe.db.sql("""select sum(actual_qty)
|
out = float(frappe.db.sql("""select sum(actual_qty)
|
||||||
|
Loading…
Reference in New Issue
Block a user