Enable save before saving to update form after save (#15579)

This commit is contained in:
Shreya Shah 2018-10-05 11:51:13 +05:30 committed by Rushabh Mehta
parent 65652071ff
commit 17ac38ff29

View File

@ -111,6 +111,7 @@ frappe.ui.form.on('Patient Appointment', {
frm.set_value('appointment_time', selected_slot);
frm.set_value('duration', data.time_per_appointment);
d.hide();
frm.enable_save();
frm.save();
}
});