fix: cherry pick

This commit is contained in:
Mihir Kandoi
2025-04-16 20:32:05 +05:30
committed by GitHub
parent be154a469f
commit 20aba541c4

View File

@@ -107,17 +107,6 @@ frappe.ui.form.on("Material Request", {
if (flt(frm.doc.per_received, precision) < 100) {
frm.add_custom_button(__("Stop"), () => frm.events.update_status(frm, "Stopped"));
<<<<<<< HEAD
if (frm.doc.material_request_type === "Purchase") {
frm.add_custom_button(
__("Purchase Order"),
() => frm.events.make_purchase_order(frm),
__("Create")
);
}
=======
>>>>>>> 5a524854de (fix: consider per_ordered instead of per_billed when creating PO from MR)
}
if (flt(frm.doc.per_ordered, precision) < 100) {