fix: Rename Hub Settings -> Marketplace Settings

This commit is contained in:
Faris Ansari
2018-08-31 16:15:06 +05:30
parent 25f509ebd3
commit f9a66c1c36
16 changed files with 60 additions and 157 deletions

View File

@@ -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()