Merge pull request #7046 from deepeshgarg007/comments
fix: Move comments from communication
This commit is contained in:
commit
40dd3eb70f
2 changed files with 4 additions and 2 deletions
|
|
@ -87,7 +87,7 @@
|
||||||
"collapsible": 0,
|
"collapsible": 0,
|
||||||
"columns": 0,
|
"columns": 0,
|
||||||
"fieldname": "subject",
|
"fieldname": "subject",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Text",
|
||||||
"hidden": 0,
|
"hidden": 0,
|
||||||
"ignore_user_permissions": 0,
|
"ignore_user_permissions": 0,
|
||||||
"ignore_xss_filter": 0,
|
"ignore_xss_filter": 0,
|
||||||
|
|
@ -476,7 +476,7 @@
|
||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"max_attachments": 0,
|
"max_attachments": 0,
|
||||||
"modified": "2019-02-08 09:18:33.843171",
|
"modified": "2019-03-07 18:39:37.598451",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Core",
|
"module": "Core",
|
||||||
"name": "Comment",
|
"name": "Comment",
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ from __future__ import unicode_literals
|
||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
|
frappe.reload_doctype("Comment")
|
||||||
|
|
||||||
for comment in frappe.get_all('Communication', fields = ['*'],
|
for comment in frappe.get_all('Communication', fields = ['*'],
|
||||||
filters = dict(communication_type = 'Comment')):
|
filters = dict(communication_type = 'Comment')):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue