commit | 846c03889ef5a39a824b059d1924249e59b9e9ca | [log] [tgz] |
---|---|---|
author | 0Pranav <prnvnachnekar@gmail.com> | Wed Oct 30 10:51:25 2019 +0530 |
committer | 0Pranav <prnvnachnekar@gmail.com> | Wed Oct 30 10:51:25 2019 +0530 |
tree | 072cbc1748d52e718d8948a4fa2c96bd94175e2a | |
parent | d2d0100c9a6958a7694af0575176bef497d81cd3 [diff] |
fix: hide schedule section on new forms
diff --git a/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js b/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js index f2fc588..e91f478 100644 --- a/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js +++ b/erpnext/maintenance/doctype/maintenance_schedule/maintenance_schedule.js
@@ -24,6 +24,7 @@ setTimeout(()=> { debugger; frm.toggle_display('generate_schedule',!(frm.is_new())); + frm.toggle_display('schedule',!(frm.is_new())); },10); }, customer: function(frm) {