From 0a8a67129e52dfcab68d69189d51e1cabda0eb93 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 17 Dec 2012 10:48:04 +0530 Subject: [PATCH] fixed null issue in recurring invoice --- accounts/doctype/sales_invoice/sales_invoice.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/accounts/doctype/sales_invoice/sales_invoice.py b/accounts/doctype/sales_invoice/sales_invoice.py index a146e932ef..49b044f4e1 100644 --- a/accounts/doctype/sales_invoice/sales_invoice.py +++ b/accounts/doctype/sales_invoice/sales_invoice.py @@ -822,7 +822,9 @@ def send_notification(new_rv): ''' for d in getlist(new_rv.doclist, 'entries'): - tbl += '' + d.item_code +'' + d.description+'' + cstr(d.qty) +'' + cstr(d.basic_rate) +'' + cstr(d.amount) +'' + tbl += '' + cstr(d.item_code) +'' + cstr(d.description) + \ + '' + cstr(d.qty) +'' + cstr(d.basic_rate) + \ + '' + cstr(d.amount) +'' tbl += '' totals ='''