feat: Create Patient Medical Record on configured doctype submission

This commit is contained in:
Rucha Mahabal
2020-11-28 20:24:06 +05:30
parent f2932d7208
commit c91e03c891
3 changed files with 60 additions and 3 deletions

View File

@@ -221,6 +221,10 @@ 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.delete_medical_record"
},
"Stock Entry": {
"on_submit": "erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty",
"on_cancel": "erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty"