From a6ab00162e8694946a9e33fbd8c1820bd817175d Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Thu, 29 Aug 2019 20:17:04 +0530 Subject: [PATCH] style: Remove commented code --- erpnext/manufacturing/doctype/work_order/work_order.py | 3 --- erpnext/stock/doctype/pick_list/pick_list.js | 1 - 2 files changed, 4 deletions(-) diff --git a/erpnext/manufacturing/doctype/work_order/work_order.py b/erpnext/manufacturing/doctype/work_order/work_order.py index efa901b7f9..a636b871e2 100644 --- a/erpnext/manufacturing/doctype/work_order/work_order.py +++ b/erpnext/manufacturing/doctype/work_order/work_order.py @@ -714,9 +714,6 @@ def create_pick_list(source_name, target_doc=None, for_qty=None): for_qty = for_qty or json.loads(target_doc).get('for_qty') max_finished_goods_qty = frappe.db.get_value('Work Order', source_name, 'qty') def update_item_quantity(source, target, source_parent): - # qty = source.required_qty - source.transferred_qty - # target.qty = qty - pending_to_issue = flt(source.required_qty) - flt(source.transferred_qty) desire_to_transfer = flt(source.required_qty) / max_finished_goods_qty * flt(for_qty) diff --git a/erpnext/stock/doctype/pick_list/pick_list.js b/erpnext/stock/doctype/pick_list/pick_list.js index 54a2ca9f0b..4b8df0939e 100644 --- a/erpnext/stock/doctype/pick_list/pick_list.js +++ b/erpnext/stock/doctype/pick_list/pick_list.js @@ -30,7 +30,6 @@ frappe.ui.form.on('Pick List', { } }; }); - // frm.set_df_property('get_item_locations', 'hidden', frm.is_dirty()); }, get_item_locations: (frm) => { frm.call('set_item_locations');