From fd3f24f4beb55185a5ef4c5e88cc6d127f988111 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 20 Aug 2012 11:43:55 +0530 Subject: [PATCH] customer name should come in recurring invoice print format instead of customer id --- erpnext/accounts/doctype/gl_control/gl_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/gl_control/gl_control.py b/erpnext/accounts/doctype/gl_control/gl_control.py index 5853132edc..28bc909cdf 100644 --- a/erpnext/accounts/doctype/gl_control/gl_control.py +++ b/erpnext/accounts/doctype/gl_control/gl_control.py @@ -620,7 +620,7 @@ def send_notification(new_rv): Invoice Date : %s
Invoice Period : %s to %s
Due Date : %s - ''' % (com, new_rv.doc.name, new_rv.doc.customer, new_rv.doc.address_display, getdate(new_rv.doc.posting_date).strftime("%d-%m-%Y"), \ + ''' % (com, new_rv.doc.name, new_rv.doc.customer_name, new_rv.doc.address_display, getdate(new_rv.doc.posting_date).strftime("%d-%m-%Y"), \ getdate(new_rv.doc.invoice_period_from_date).strftime("%d-%m-%Y"), getdate(new_rv.doc.invoice_period_to_date).strftime("%d-%m-%Y"),\ getdate(new_rv.doc.due_date).strftime("%d-%m-%Y"))