diff --git a/frappe/core/doctype/comment/comment.json b/frappe/core/doctype/comment/comment.json index 344d6399b9..82c18a6520 100644 --- a/frappe/core/doctype/comment/comment.json +++ b/frappe/core/doctype/comment/comment.json @@ -87,7 +87,7 @@ "collapsible": 0, "columns": 0, "fieldname": "subject", - "fieldtype": "Data", + "fieldtype": "Text", "hidden": 0, "ignore_user_permissions": 0, "ignore_xss_filter": 0, @@ -476,7 +476,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2019-02-08 09:18:33.843171", + "modified": "2019-03-07 18:39:37.598451", "modified_by": "Administrator", "module": "Core", "name": "Comment", diff --git a/frappe/patches/v12_0/setup_comments_from_communications.py b/frappe/patches/v12_0/setup_comments_from_communications.py index 92256e130e..1a7a5aef84 100644 --- a/frappe/patches/v12_0/setup_comments_from_communications.py +++ b/frappe/patches/v12_0/setup_comments_from_communications.py @@ -3,6 +3,8 @@ from __future__ import unicode_literals import frappe def execute(): + frappe.reload_doctype("Comment") + for comment in frappe.get_all('Communication', fields = ['*'], filters = dict(communication_type = 'Comment')):