[support] [fix] [patch] reload support ticket and communication before the patch
This commit is contained in:
parent
07e2291fb8
commit
ace9cbad9e
@ -17,6 +17,8 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
import webnotes
|
import webnotes
|
||||||
def execute():
|
def execute():
|
||||||
|
webnotes.reload_doc("support", "doctype", "support_ticket")
|
||||||
|
webnotes.reload_doc("core", "doctype", "communication")
|
||||||
for d in webnotes.conn.sql("""select name, raised_by from `tabSupport Ticket`
|
for d in webnotes.conn.sql("""select name, raised_by from `tabSupport Ticket`
|
||||||
where docstatus < 2""", as_dict=True):
|
where docstatus < 2""", as_dict=True):
|
||||||
tic = webnotes.get_obj("Support Ticket", d.name)
|
tic = webnotes.get_obj("Support Ticket", d.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user