Browse Source

[fix] Email alert for value change not working for the allow on submit field (#3433)

version-14
rohitwaghchaure 8 years ago
committed by Nabin Hait
parent
commit
59acca249a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      frappe/model/document.py

+ 1
- 0
frappe/model/document.py View File

@@ -709,6 +709,7 @@ class Document(BaseDocument):
# value change is not applicable in insert
event_map['validate'] = 'Value Change'
event_map['before_change'] = 'Value Change'
event_map['before_update_after_submit'] = 'Value Change'

for alert in self.flags.email_alerts:
event = event_map.get(method, None)


Loading…
Cancel
Save