Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
d3df97e2e2
@ -2,6 +2,6 @@ def execute():
|
|||||||
import webnotes
|
import webnotes
|
||||||
webnotes.conn.sql("""delete from `tabSearch Criteria` \
|
webnotes.conn.sql("""delete from `tabSearch Criteria` \
|
||||||
where name = 'customer_address_contact'""")
|
where name = 'customer_address_contact'""")
|
||||||
|
|
||||||
from webnotes.modules import reload_doc
|
webnotes.reload_doc("core", "doctype", "report")
|
||||||
reload_doc('selling', 'report', 'customer_addresses_and_contacts')
|
webnotes.reload_doc('selling', 'report', 'customer_addresses_and_contacts')
|
||||||
@ -146,4 +146,8 @@ class DocType(TransactionBase):
|
|||||||
|
|
||||||
def reopen_ticket(self):
|
def reopen_ticket(self):
|
||||||
webnotes.conn.set(self.doc,'status','Open')
|
webnotes.conn.set(self.doc,'status','Open')
|
||||||
update_feed(self.doc)
|
update_feed(self.doc)
|
||||||
|
|
||||||
|
def on_trash(self):
|
||||||
|
webnotes.conn.sql("""update `tabCommunication set support_ticket=""
|
||||||
|
where support_ticket=%s`""", self.doc.name)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user