def METHOD_NAME(fn):
	"""Decorator to make a function regionally overridable
	Example:
	@erpnext.allow_regional
	def myfunction():
	  pass"""
	@functools.wraps(fn)
	def caller(*args, **kwargs):
		overrides = frappe.get_hooks("regional_overrides", {}).get(get_region())
		function_path = f"{inspect.getmodule(fn).__name__}.{fn.__name__}"
		if not overrides or function_path not in overrides:
			return fn(*args, **kwargs)
		# Priority given to last installed app
		return frappe.get_attr(overrides[function_path][-1])(*args, **kwargs)
	return caller