Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
7c27667f95
@ -54,9 +54,9 @@ class DocType:
|
||||
r = []
|
||||
if self.doc.cheque_no :
|
||||
if self.doc.cheque_date:
|
||||
r.append('Via cheque #%s dated %s' % (self.doc.cheque_no, formatdate(self.doc.cheque_date)))
|
||||
r.append('Via Reference #%s dated %s' % (self.doc.cheque_no, formatdate(self.doc.cheque_date)))
|
||||
else :
|
||||
msgprint("Please enter cheque date")
|
||||
msgprint("Please enter Reference date")
|
||||
raise Exception
|
||||
|
||||
for d in getlist(self.doclist, 'entries'):
|
||||
|
@ -1,7 +1,7 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("support", "doctype", "communication")
|
||||
webnotes.reload_doc("core", "doctype", "communication")
|
||||
webnotes.conn.sql("""update tabCommunication set sender=email_address
|
||||
where ifnull(support_ticket,'') != ''""")
|
||||
webnotes.conn.sql("""update tabCommunication set recipients=email_address where
|
||||
|
Loading…
x
Reference in New Issue
Block a user