From 58a080a1b18bb7df3a61e05dc88c723303068cae Mon Sep 17 00:00:00 2001 From: Zlash65 Date: Sat, 6 Oct 2018 16:17:12 +0530 Subject: [PATCH] add voucher detail no while creating gl entry --- erpnext/accounts/deferred_revenue.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/accounts/deferred_revenue.py b/erpnext/accounts/deferred_revenue.py index 5e5c6e594e..2ff2644d18 100644 --- a/erpnext/accounts/deferred_revenue.py +++ b/erpnext/accounts/deferred_revenue.py @@ -157,6 +157,7 @@ def book_deferred_income_or_expense(doc, start_date=None, end_date=None): "credit": base_amount, "credit_in_account_currency": amount, "cost_center": item.cost_center, + "voucher_detail_no": item.name, 'posting_date': booking_end_date, 'project': project }, account_currency)