From c87f8c6f00c08d4b99a5063f6ff632fb4831fe1d Mon Sep 17 00:00:00 2001 From: NahuelOperto Date: Fri, 10 May 2019 10:46:41 -0300 Subject: [PATCH] fix codecay --- .../available_stock_for_packing_items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py b/erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py index 50f07e53ee2..32711b2fce0 100644 --- a/erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py +++ b/erpnext/selling/report/available_stock_for_packing_items/available_stock_for_packing_items.py @@ -39,7 +39,7 @@ def get_columns(): def get_item_details(): item_map = {} - for item in frappe.db.sql("""SELECT name, item_name, description, stock_uom + for item in frappe.db.sql("""SELECT name, item_name, description, stock_uom from `tabItem`""", as_dict=1): item_map.setdefault(item.name, item) return item_map