mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-09 00:01:18 +00:00
fix: Rename Hub Settings -> Marketplace Settings
This commit is contained in:
@@ -6,12 +6,12 @@ import frappe
|
||||
|
||||
@frappe.whitelist()
|
||||
def enable_hub():
|
||||
hub_settings = frappe.get_doc('Hub Settings')
|
||||
hub_settings = frappe.get_doc('Marketplace Settings')
|
||||
hub_settings.register()
|
||||
frappe.db.commit()
|
||||
return hub_settings
|
||||
|
||||
@frappe.whitelist()
|
||||
def sync():
|
||||
hub_settings = frappe.get_doc('Hub Settings')
|
||||
hub_settings = frappe.get_doc('Marketplace Settings')
|
||||
hub_settings.sync()
|
||||
|
||||
Reference in New Issue
Block a user