style: Remove commented code
This commit is contained in:
parent
9e4282e130
commit
a6ab00162e
@ -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)
|
||||
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user