8 lines
185 B
Python
8 lines
185 B
Python
import frappe
|
|
|
|
|
|
def execute():
|
|
doc = frappe.db.exists("Top Bar Item", {"url": "/community"})
|
|
if doc:
|
|
frappe.db.set_value("Top Bar Item", doc, {"url": "/people", "label": "People"})
|