diff --git a/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py b/healthcare/healthcare/doctype/patient_appointment/patient_appointment.py index ff66e3e5dc..2c8046552b 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):