Merge pull request #5449 from RobertSchouten/patch-11
[fix] show company in list view
diff --git a/erpnext/utilities/address_and_contact.py b/erpnext/utilities/address_and_contact.py
index d175db6..a2e566f 100644
--- a/erpnext/utilities/address_and_contact.py
+++ b/erpnext/utilities/address_and_contact.py
@@ -80,7 +80,7 @@
meta = frappe.get_meta(doctype)
for df in meta.get_link_fields():
- if df.options not in ("Customer", "Supplier", "Sales Partner"):
+ if df.options not in ("Customer", "Supplier", "Company", "Sales Partner"):
continue
if frappe.has_permission(df.options):