fix: Reload comment doctype
This commit is contained in:
parent
2b403c2b31
commit
2fac689455
1 changed files with 2 additions and 0 deletions
|
|
@ -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')):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue