mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 21:19:19 +00:00
contact us page problem fixed.
This commit is contained in:
@@ -10,9 +10,9 @@ class DocType:
|
||||
def onload(self):
|
||||
"""load address"""
|
||||
if self.doc.query_options:
|
||||
self.doc.query_options = filter(None, self.doc.query_options.replace(",", "\n").split())
|
||||
self.query_options = filter(None, self.doc.query_options.replace(",", "\n").split())
|
||||
else:
|
||||
self.doc.query_options = ["Sales", "Support", "General"]
|
||||
self.query_options = ["Sales", "Support", "General"]
|
||||
if self.doc.address:
|
||||
self.address = webnotes.bean("Address", self.doc.address).doc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user