From 18bb431baa3b4b54f057f2301f49aaa3d76e576d Mon Sep 17 00:00:00 2001 From: pawan Date: Mon, 22 Aug 2016 17:27:22 +0530 Subject: [PATCH] [fix] #6089 --- erpnext/accounts/report/gross_profit/gross_profit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/report/gross_profit/gross_profit.py b/erpnext/accounts/report/gross_profit/gross_profit.py index 6ae9086956c..8be3c68621b 100644 --- a/erpnext/accounts/report/gross_profit/gross_profit.py +++ b/erpnext/accounts/report/gross_profit/gross_profit.py @@ -189,7 +189,7 @@ class GrossProfitGenerator(object): # stock_ledger_entries should already be filtered by item_code and warehouse and # sorted by posting_date desc, posting_time desc if item_code in self.non_stock_items: - #Issue 6089-Get last purchasing rate for non-stock items + #Issue 6089-Get last purchasing rate for non-stock item item_rate = self.get_last_purchase_rate(item_code) return flt(row.qty) * item_rate