commit | 114d595de97508807c3505c86918a82daaf00a5c | [log] [tgz] |
---|---|---|
author | Faris Ansari <netchamp.faris@gmail.com> | Wed Aug 29 18:24:49 2018 +0530 |
committer | Faris Ansari <netchamp.faris@gmail.com> | Wed Aug 29 18:24:49 2018 +0530 |
tree | 6abcd76cfe58e4fdcf324f7c0eb7d0b7bab59e79 | |
parent | e4c772908959ff3736b6b6eb80ce188a04b556c0 [diff] [blame] |
fix: Set hub_url in Hub Settings - add patch to set the value
diff --git a/erpnext/hub_node/api.py b/erpnext/hub_node/api.py index 441d30b..74219da 100644 --- a/erpnext/hub_node/api.py +++ b/erpnext/hub_node/api.py
@@ -180,9 +180,9 @@ # read-only connection if read_only: - hub_connection = FrappeClient(frappe.conf.hub_url) + hub_url = frappe.db.get_single_value('Hub Settings', 'hub_url') + hub_connection = FrappeClient(hub_url) return hub_connection - def get_field_mappings(): return []