Update hub domain 💥

This commit is contained in:
Prateeksha Singh 2018-02-16 11:07:12 +05:30 committed by GitHub
parent db6f0848e3
commit 0acb63a938
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,9 +10,7 @@ from frappe import _
from erpnext.utilities.product import get_price, get_qty_in_stock from erpnext.utilities.product import get_price, get_qty_in_stock
from six import string_types from six import string_types
# hub_url = "http://erpnext.hub:8000" hub_url = "https://hubmarket.org"
hub_url = "https://hub.erpnext.org"
# hub_url = "http://192.168.29.145:3000"
class HubSetupError(frappe.ValidationError): pass class HubSetupError(frappe.ValidationError): pass
@ -102,4 +100,4 @@ def reset_hub_settings(last_sync_datetime = ""):
@frappe.whitelist() @frappe.whitelist()
def sync(): def sync():
hub_settings = frappe.get_doc('Hub Settings') hub_settings = frappe.get_doc('Hub Settings')
hub_settings.sync() hub_settings.sync()