[fix] show company in list view

allows address and contact to only contain company not customer or supplier or sales partner
This commit is contained in:
RobertSchouten 2016-06-07 17:03:41 +08:00
parent ddd4ce51b8
commit f28a5da952

View File

@ -80,7 +80,7 @@ def get_permitted_and_not_permitted_links(doctype):
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):