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

6 lines
209 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', 'marketplace_url', 'https://hubmarket.org')