brotherton-erpnext/erpnext/patches/v11_0/update_hub_url.py

6 lines
201 B
Python
Raw Normal View History

import frappe
def execute():
frappe.reload_doc('hub_node', 'doctype', 'Marketplace Settings')
frappe.db.set_value('Marketplace Settings', 'Marketplace Settings', 'hub_url', 'https://hubmarket.org')