From 9db28ef90dbabff587906dce39856481f525c1df Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 27 Mar 2018 16:00:57 +0530 Subject: [PATCH] Minor fix in patch --- erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py b/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py index 8a456382ab..c49752213c 100644 --- a/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py +++ b/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py @@ -18,7 +18,7 @@ def execute(): pass for d in frappe.db.sql("""select distinct item_code, source_warehouse - from `tabProduction Order Item` + from `tabWork Order Item` where docstatus=1 and transferred_qty > required_qty and source_warehouse is not null and source_warehouse != ''""", as_list=1):