From 9b32196c11e07c0174411fd63f93b3a148e71e2b Mon Sep 17 00:00:00 2001 From: Makarand Bauskar Date: Wed, 4 Oct 2017 17:59:32 +0530 Subject: [PATCH 1/2] [minor] don't update the parent status if comment is added (#4241) --- frappe/core/doctype/communication/email.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frappe/core/doctype/communication/email.py b/frappe/core/doctype/communication/email.py index 04bc906161..166aa4d84d 100755 --- a/frappe/core/doctype/communication/email.py +++ b/frappe/core/doctype/communication/email.py @@ -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: From f587f3a4a917d2ae5bf4e92cb337af22756370ed Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Wed, 4 Oct 2017 18:42:09 +0600 Subject: [PATCH 2/2] bumped to version 9.0.9 --- frappe/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/__init__.py b/frappe/__init__.py index 1b7a613d5f..e18619f247 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -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()