diff --git a/erpnext/venue/doctype/item_booking_calendar/item_booking_calendar.js b/erpnext/venue/doctype/item_booking_calendar/item_booking_calendar.js index a12f9c6a954dc4d77ef5bfb2c2389bfd63cee3d6..41423a6f1639d27c006e313350220eb951287f11 100644 --- a/erpnext/venue/doctype/item_booking_calendar/item_booking_calendar.js +++ b/erpnext/venue/doctype/item_booking_calendar/item_booking_calendar.js @@ -71,3 +71,12 @@ frappe.ui.form.on('Item Booking Calendar', { dialog.show(); } }); + +frappe.ui.form.on("Item Booking Calendar Exception", { + exceptions_add(frm, cdt, cdn) { + // https://discuss.frappe.io/t/91101 + const row = locals[cdt][cdn]; + row.start_time = ""; + row.end_time = ""; + }, +});