Skip to content

Commit

Permalink
fix: variant qty while making work order from BOM (#44548)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitwaghchaure authored Dec 5, 2024
1 parent 024c442 commit 1571dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/manufacturing/doctype/bom/bom.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ frappe.ui.form.on("BOM", {
dialog.fields_dict.items.df.data.push({
item_code: d.item_code,
variant_item_code: "",
qty: d.qty,
qty: (d.qty / frm.doc.quantity) * (dialog.fields_dict.qty.value || 1),
source_warehouse: d.source_warehouse,
operation: d.operation,
});
Expand Down

0 comments on commit 1571dff

Please sign in to comment.