fix: don't use primary action for create

This commit is contained in:
Shivam Mishra 2020-11-18 17:10:02 +05:30
parent 8cf3bdd044
commit 3bec3cfef1

View File

@ -81,7 +81,7 @@ frappe.ui.form.on("Item", {
}, __('Create'));
}
frm.page.set_inner_btn_group_as_primary(__('Create'));
// frm.page.set_inner_btn_group_as_primary(__('Create'));
}
if (frm.doc.variant_of) {
frm.set_intro(__('This Item is a Variant of {0} (Template).',