Kaynağa Gözat

Merge branch 'develop'

version-14
Pratik Vyas 11 yıl önce
ebeveyn
işleme
fc3a0b3951
3 değiştirilmiş dosya ile 6 ekleme ve 3 silme
  1. +1
    -1
      config.json
  2. +4
    -1
      webnotes/utils/email_lib/receive.py
  3. +1
    -1
      webnotes/utils/nestedset.py

+ 1
- 1
config.json Dosyayı Görüntüle

@@ -1,6 +1,6 @@
{
"base_template": "lib/website/templates/base.html",
"framework_version": "3.9.2",
"framework_version": "3.9.3",
"modules": {
"Calendar": {
"color": "#2980b9",


+ 4
- 1
webnotes/utils/email_lib/receive.py Dosyayı Görüntüle

@@ -52,7 +52,10 @@ class IncomingMail:
else:
# assume that the encoding is utf-8
self.subject = self.subject.decode("utf-8")

if not self.subject:
self.subject = "No Subject"
def set_content_and_type(self):
self.content, self.content_type = '[Blank Email]', 'text/plain'
if self.text_content:


+ 1
- 1
webnotes/utils/nestedset.py Dosyayı Görüntüle

@@ -189,7 +189,7 @@ class DocTypeNestedSet(object):
self.doc.fields[self.nsm_parent_field] = ""
update_nsm(self)
def before_rename(self, newdn, olddn, merge=False, group_fname="is_group"):
def before_rename(self, olddn, newdn, merge=False, group_fname="is_group"):
if merge:
is_group = webnotes.conn.get_value(self.doc.doctype, newdn, group_fname)
if self.doc.fields[group_fname] != is_group:


Yükleniyor…
İptal
Kaydet