def METHOD_NAME(name, company=None, abbr=None):
	"""Returns name encoded with company abbreviation"""
	company_abbr = abbr or frappe.get_cached_value("Company", company, "abbr")
	parts = name.rsplit(" - ", 1)
	if parts[-1].lower() != company_abbr.lower():
		parts.append(company_abbr)
	return " - ".join(parts)