From e8e2d406b545c0aeaa57ce7e8af331763060ec36 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 29 Mar 2016 18:16:57 +0530 Subject: [PATCH] minor fix --- erpnext/controllers/accounts_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 3ab22c5443..83155f1e73 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -279,7 +279,7 @@ class AccountsController(TransactionBase): res = frappe.db.sql(""" select t1.name as jv_no, t1.remark, t2.{0} as amount, t2.name as jv_detail_no, - reference_name as against_order + t2.reference_name as against_order from `tabJournal Entry` t1, `tabJournal Entry Account` t2 where