From 75d4fc99fca4726d90c15d592a8d4c269d5fe25a Mon Sep 17 00:00:00 2001 From: GangaManoj Date: Fri, 20 Aug 2021 18:25:36 +0530 Subject: [PATCH] fix: Display Items in the format Item Code: Item Name --- erpnext/accounts/report/gross_profit/gross_profit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py index 87053a0972..d202d86fcb 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.py +++ b/erpnext/accounts/report/gross_profit/gross_profit.py @@ -44,6 +44,9 @@ def execute(filters=None): if filters.group_by == 'Invoice': column_names = get_column_names() + # to display item as Item Code: Item Name + columns[0] = 'Sales Invoice:Link/Item:300' + for src in gross_profit_data.si_list: row = frappe._dict() row.indent = src.indent