fixed patch for hub
This commit is contained in:
parent
b2d318ec48
commit
d8f7de9946
@ -50,6 +50,7 @@ class CropCycle(Document):
|
||||
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
|
||||
|
||||
|
@ -495,3 +495,4 @@ erpnext.patches.v10_0.set_auto_created_serial_no_in_stock_entry
|
||||
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
|
||||
|
8
erpnext/patches/v10_0/update_hub_connector_domain.py
Normal file
8
erpnext/patches/v10_0/update_hub_connector_domain.py
Normal file
@ -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'
|
||||
""")
|
Loading…
x
Reference in New Issue
Block a user