[issues] [minor] fixed multiple minor issues
This commit is contained in:
parent
f1b6f67a98
commit
43247cedea
@ -11,6 +11,10 @@ class DocType:
|
|||||||
self.doc = doc
|
self.doc = doc
|
||||||
self.doclist = doclist
|
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):
|
def on_update(self):
|
||||||
if cint(self.doc.show_in_website):
|
if cint(self.doc.show_in_website):
|
||||||
from webnotes.webutils import update_page_name
|
from webnotes.webutils import update_page_name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user