remove print in homepage
This commit is contained in:
parent
6cdebc0baf
commit
d774f40497
@ -5,7 +5,6 @@ def execute():
|
|||||||
website_settings = frappe.get_doc('Website Settings', 'Website Settings')
|
website_settings = frappe.get_doc('Website Settings', 'Website Settings')
|
||||||
if frappe.db.exists('Web Page', website_settings.home_page):
|
if frappe.db.exists('Web Page', website_settings.home_page):
|
||||||
header = frappe.db.get_value('Web Page', website_settings.home_page, 'header')
|
header = frappe.db.get_value('Web Page', website_settings.home_page, 'header')
|
||||||
print header
|
|
||||||
if header and header.startswith("<div class='hero text-center'>"):
|
if header and header.startswith("<div class='hero text-center'>"):
|
||||||
homepage = frappe.get_doc('Homepage', 'Homepage')
|
homepage = frappe.get_doc('Homepage', 'Homepage')
|
||||||
homepage.company = erpnext.get_default_company()
|
homepage.company = erpnext.get_default_company()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user