9 lines
244 B
Python
9 lines
244 B
Python
|
|
import frappe
|
||
|
|
|
||
|
|
def run():
|
||
|
|
# Force home page to our portal dashboard
|
||
|
|
frappe.db.set_single_value("Website Settings", "home_page", "index")
|
||
|
|
|
||
|
|
# Optional: log it
|
||
|
|
frappe.logger().info("Set home_page to 'index' for portal_dashboard.")
|