fix: Reload comment doctype

This commit is contained in:
deepeshgarg007 2019-03-07 22:15:04 +05:30
parent 2b403c2b31
commit 2fac689455

View file

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