fixed patch for hub
diff --git a/erpnext/agriculture/doctype/crop_cycle/crop_cycle.py b/erpnext/agriculture/doctype/crop_cycle/crop_cycle.py
index 21dfe31..ea344ed 100644
--- a/erpnext/agriculture/doctype/crop_cycle/crop_cycle.py
+++ b/erpnext/agriculture/doctype/crop_cycle/crop_cycle.py
@@ -50,6 +50,7 @@
project.expected_start_date = self.start_date
project.expected_end_date = frappe.utils.data.add_days(self.start_date, period-1)
project.insert()
+ print(project)
self.create_task(crop_tasks, project.as_dict.im_self.name, self.start_date)
return project.as_dict.im_self.name
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index d06b405..512e440 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -495,3 +495,4 @@
erpnext.patches.v10_0.update_territory_and_customer_group
erpnext.patches.v10_0.update_warehouse_address_details
erpnext.patches.v10_0.update_reserved_qty_for_purchase_order
+erpnext.patches.v10_0.update_hub_connector_domain
diff --git a/erpnext/patches/v10_0/update_hub_connector_domain.py b/erpnext/patches/v10_0/update_hub_connector_domain.py
new file mode 100644
index 0000000..fc3c294
--- /dev/null
+++ b/erpnext/patches/v10_0/update_hub_connector_domain.py
@@ -0,0 +1,8 @@
+import frappe
+
+def execute():
+ frappe.db.sql("""
+ UPDATE `tabData Migration Connector`
+ SET hostname = 'https://hubmarket.org'
+ WHERE connector_name = 'Hub Connector'
+ """)
\ No newline at end of file