style: Remove commented code

This commit is contained in:
Suraj Shetty 2019-08-29 20:17:04 +05:30
parent 9e4282e130
commit a6ab00162e
2 changed files with 0 additions and 4 deletions

View File

@ -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)

View File

@ -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');