fix(Document Follow): Skip Email Account and Email Domain (#11973)
This commit is contained in:
parent
3bc4c0475b
commit
0866526d11
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ def follow_document(doctype, doc_name, user, force=False):
|
|||
avoided for some doctype
|
||||
follow only if track changes are set to 1
|
||||
'''
|
||||
if (doctype in ("Communication", "ToDo", "Email Unsubscribe", "File", "Comment")
|
||||
if (doctype in ("Communication", "ToDo", "Email Unsubscribe", "File", "Comment", "Email Account", "Email Domain")
|
||||
or doctype in log_types):
|
||||
return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue