feat: hooks for updating and deleting medical records

This commit is contained in:
Rucha Mahabal
2020-11-30 13:22:01 +05:30
parent 4097e89f8b
commit c0fcc807d3
2 changed files with 39 additions and 4 deletions

View File

@@ -223,7 +223,7 @@ standard_queries = {
doc_events = {
"*": {
"on_submit": "erpnext.healthcare.doctype.patient_history_settings.patient_history_settings.create_medical_record",
"on_cancel": "erpnext.healthcare.doctype.patient_history_settings.patient_history_settings.update_medical_record",
"on_update": "erpnext.healthcare.doctype.patient_history_settings.patient_history_settings.update_medical_record",
"on_cancel": "erpnext.healthcare.doctype.patient_history_settings.patient_history_settings.delete_medical_record"
},
"Stock Entry": {