mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-21 18:36:30 +00:00
fix: show button only when RFQ is submitted
(cherry picked from commit ef57d2b328)
This commit is contained in:
@@ -154,15 +154,15 @@ frappe.ui.form.on("Request for Quotation", {
|
|||||||
);
|
);
|
||||||
|
|
||||||
frm.page.set_inner_btn_group_as_primary(__("Create"));
|
frm.page.set_inner_btn_group_as_primary(__("Create"));
|
||||||
}
|
|
||||||
|
|
||||||
frm.add_custom_button(
|
frm.add_custom_button(
|
||||||
__("Supplier Quotation Comparison"),
|
__("Supplier Quotation Comparison"),
|
||||||
function () {
|
function () {
|
||||||
frm.trigger("show_supplier_quotation_comparison");
|
frm.trigger("show_supplier_quotation_comparison");
|
||||||
},
|
},
|
||||||
__("View")
|
__("View")
|
||||||
);
|
);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
show_supplier_quotation_comparison(frm) {
|
show_supplier_quotation_comparison(frm) {
|
||||||
|
|||||||
Reference in New Issue
Block a user