Przeglądaj źródła

Merge branch 'hotfix'

version-14
Nabin Hait 7 lat temu
rodzic
commit
4d38e4e435
2 zmienionych plików z 6 dodań i 1 usunięć
  1. +1
    -1
      frappe/__init__.py
  2. +5
    -0
      frappe/core/doctype/communication/email.py

+ 1
- 1
frappe/__init__.py Wyświetl plik

@@ -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()


+ 5
- 0
frappe/core/doctype/communication/email.py Wyświetl plik

@@ -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:


Ładowanie…
Anuluj
Zapisz