enter console
bench --site <site.name> console
enter following in console:
f = frappe.get_doc("Custom Field", "Issue-legacy_customer_id")
# Set the options to None, current option Customer is invalid
f.options = None
f.save()
frappe.db.commit()
enter console
bench --site <site.name> console
enter following in console:
f = frappe.get_doc("Custom Field", "Issue-legacy_customer_id")
# Set the options to None, current option Customer is invalid
f.options = None
f.save()
frappe.db.commit()