commit | 3bec3cfef16f33945440b334a3fa98d851b73ed2 | [log] [tgz] |
---|---|---|
author | Shivam Mishra <scm.mymail@gmail.com> | Wed Nov 18 17:10:02 2020 +0530 |
committer | Shivam Mishra <scm.mymail@gmail.com> | Wed Nov 18 17:10:02 2020 +0530 |
tree | 452a469b718980cadf34856aa9ac35123e6082bc | |
parent | 8cf3bdd044aa26559ee6e7c4c9a10a5ac86a258f [diff] |
fix: don't use primary action for create
diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js index faf4acc..8b8b700 100644 --- a/erpnext/stock/doctype/item/item.js +++ b/erpnext/stock/doctype/item/item.js
@@ -81,7 +81,7 @@ }, __('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).',