Skip to content

Commit

Permalink
Merge pull request #44590 from frappe/mergify/bp/version-15/pr-44551
Browse files Browse the repository at this point in the history
fix: variant qty while making work order from BOM (backport #44548) (backport #44551)
  • Loading branch information
rohitwaghchaure authored Dec 7, 2024
2 parents 1d158d5 + 3c50cfe commit b00cc83
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 @@ -364,7 +364,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 b00cc83

Please sign in to comment.