diff --git a/erpnext/selling/doctype/quotation/quotation.js b/erpnext/selling/doctype/quotation/quotation.js index a1c0cdd627aec1da458f6705fc86a3b9018b6a3c..5693b1f769c3b465f80efe928d3a49823b69d438 100644 --- a/erpnext/selling/doctype/quotation/quotation.js +++ b/erpnext/selling/doctype/quotation/quotation.js @@ -121,6 +121,7 @@ erpnext.selling.QuotationController = class QuotationController extends erpnext. () => this.make_sales_order(), __("Create") ); + this.frm.page.set_inner_btn_group_as_primary(__('Create')); } if(doc.status!=="Ordered") { @@ -128,8 +129,6 @@ erpnext.selling.QuotationController = class QuotationController extends erpnext. this.frm.trigger('set_as_lost_dialog'); }); } - - cur_frm.page.set_inner_btn_group_as_primary(__('Create')); } if (this.frm.doc.docstatus===0) {