fix: Remove duplicate on_trash key

This commit is contained in:
Suraj Shetty 2020-03-14 16:16:16 +05:30 committed by GitHub
parent 6b2dd7ca00
commit 98f5366fac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,13 +134,13 @@ doc_events = {
],
"on_trash": [
"frappe.desk.notifications.clear_doctype_notifications",
"frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions"
"frappe.workflow.doctype.workflow_action.workflow_action.process_workflow_actions",
"frappe.cache_manager.build_table_count_cache"
],
"on_change": [
"frappe.social.doctype.energy_point_rule.energy_point_rule.process_energy_points"
],
"after_insert": "frappe.cache_manager.build_table_count_cache",
"on_trash": "frappe.cache_manager.build_table_count_cache",
"after_insert": "frappe.cache_manager.build_table_count_cache"
},
"Event": {
"after_insert": "frappe.integrations.doctype.google_calendar.google_calendar.insert_event_in_google_calendar",