mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 17:55:40 +00:00
Merge pull request #22475 from frappe/mergify/bp/version-12-hotfix/pr-22468
fix: enable show_configure_button when shopping cart is enabled (bp #22468)
This commit is contained in:
@@ -13,6 +13,12 @@ $.extend(cur_frm.cscript, {
|
||||
},
|
||||
enable_checkout: function(){
|
||||
toggle_mandatory(cur_frm)
|
||||
},
|
||||
enabled: function() {
|
||||
if (cur_frm.doc.enabled === 1) {
|
||||
cur_frm.doc.show_configure_button = 1;
|
||||
cur_frm.refresh_field('show_configure_button');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user