Merge branch 'hotfix'
This commit is contained in:
commit
4d38e4e435
2 changed files with 6 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json
|
|||
from .exceptions import *
|
||||
from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template
|
||||
|
||||
__version__ = '9.0.8'
|
||||
__version__ = '9.0.9'
|
||||
__title__ = "Frappe Framework"
|
||||
|
||||
local = Local()
|
||||
|
|
|
|||
|
|
@ -173,6 +173,11 @@ def update_parent_status(doc):
|
|||
if not parent:
|
||||
return
|
||||
|
||||
# update parent status only if we create the Email communication
|
||||
# ignore in case of only Comment is added
|
||||
if doc.communication_type == "Comment":
|
||||
return
|
||||
|
||||
status_field = parent.meta.get_field("status")
|
||||
|
||||
if status_field:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue