diff --git a/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py b/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py index 0ffc934296..fc048e2dde 100755 --- a/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py +++ b/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py @@ -353,6 +353,7 @@ def create_sales_invoice(appointment_doc): appointment_doc.name, {"invoiced": 1, "ref_sales_invoice": sales_invoice.name}, ) + appointment_doc.reload() def check_is_new_patient(patient, name=None):