mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 17:34:47 +00:00
fix: show custom button for saved projects (#24730)
* fix: show custom button for saved projects * fix: slider
This commit is contained in:
@@ -75,7 +75,7 @@ frappe.ui.form.on("Project", {
|
||||
frm.add_custom_button(__('Cancelled'), () => {
|
||||
frm.events.set_status(frm, 'Cancelled');
|
||||
}, __('Set Status'));
|
||||
}
|
||||
|
||||
|
||||
if (frappe.model.can_read("Task")) {
|
||||
frm.add_custom_button(__("Gantt Chart"), function () {
|
||||
@@ -93,6 +93,9 @@ frappe.ui.form.on("Project", {
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
create_duplicate: function(frm) {
|
||||
|
||||
Reference in New Issue
Block a user