mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 17:53:49 +00:00
[issues] [minor] fixed multiple minor issues
This commit is contained in:
@@ -11,6 +11,10 @@ class DocType:
|
||||
self.doc = doc
|
||||
self.doclist = doclist
|
||||
|
||||
def validate(self):
|
||||
if self.doc.partner_website and not self.doc.partner_website.startswith("http"):
|
||||
self.doc.partner_website = "http://" + self.doc.partner_website
|
||||
|
||||
def on_update(self):
|
||||
if cint(self.doc.show_in_website):
|
||||
from webnotes.webutils import update_page_name
|
||||
|
||||
Reference in New Issue
Block a user