소스 검색

Merge branch 'hotfix'

version-14
Saurabh 7 년 전
부모
커밋
26dec6157c
3개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -1
      frappe/desk/form/load.py
  3. +2
    -1
      frappe/public/js/frappe/views/communication.js

+ 1
- 1
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__ = '10.0.12'
__version__ = '10.0.13'
__title__ = "Frappe Framework"

local = Local()


+ 1
- 1
frappe/desk/form/load.py 파일 보기

@@ -138,7 +138,7 @@ def get_communication_data(doctype, name, start=0, limit=20, after=None, fields=
'''Returns list of communications for a given document'''
if not fields:
fields = '''name, communication_type,
communication_medium, comment_type,
communication_medium, comment_type, communication_date,
content, sender, sender_full_name, creation, subject, delivery_status, _liked_by,
timeline_doctype, timeline_name,
reference_doctype, reference_name,


+ 2
- 1
frappe/public/js/frappe/views/communication.js 파일 보기

@@ -585,12 +585,13 @@ frappe.views.CommunicationComposer = Class.extend({
.replace(/&lt;meta[\s\S]*meta&gt;/g, '') // remove <meta> tags
.replace(/&lt;style[\s\S]*&lt;\/style&gt;/g, ''); // // remove <style> tags

var communication_date = last_email.communication_date || last_email.creation;
content = '<div><br></div>'
+ reply
+ "<br><!-- original-reply --><br>"
+ '<blockquote>' +
'<p>' + __("On {0}, {1} wrote:",
[frappe.datetime.global_date_format(last_email.communication_date) , last_email.sender]) + '</p>' +
[frappe.datetime.global_date_format(communication_date) , last_email.sender]) + '</p>' +
last_email_content +
'<blockquote>';
} else {


불러오는 중...
취소
저장