Update hub domain 💥
This commit is contained in:
parent
db6f0848e3
commit
0acb63a938
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user