mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Merge pull request #5449 from RobertSchouten/patch-11
[fix] show company in list view
This commit is contained in:
@@ -80,7 +80,7 @@ def get_permitted_and_not_permitted_links(doctype):
|
|||||||
meta = frappe.get_meta(doctype)
|
meta = frappe.get_meta(doctype)
|
||||||
|
|
||||||
for df in meta.get_link_fields():
|
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
|
continue
|
||||||
|
|
||||||
if frappe.has_permission(df.options):
|
if frappe.has_permission(df.options):
|
||||||
|
|||||||
Reference in New Issue
Block a user