Minor fixes
diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py
index 27c946d..7c48b5c 100644
--- a/erpnext/accounts/doctype/journal_entry/journal_entry.py
+++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py
@@ -53,7 +53,7 @@
 		self.update_inter_company_jv()
 
 	def before_print(self):
-		self.gl = frappe.get_list("GL Entry",filters={"voucher_type": "Journal Entry",
+		self.gl_entries = frappe.get_list("GL Entry",filters={"voucher_type": "Journal Entry",
 			"voucher_no": self.name} ,
 			fields=["account", "party_type", "party", "debit", "credit", "remarks"]
 		)
diff --git a/erpnext/accounts/doctype/payment_entry/payment_entry.py b/erpnext/accounts/doctype/payment_entry/payment_entry.py
index 00ffd17..2f56a51 100644
--- a/erpnext/accounts/doctype/payment_entry/payment_entry.py
+++ b/erpnext/accounts/doctype/payment_entry/payment_entry.py
@@ -71,7 +71,7 @@
 		self.update_expense_claim()
 
 	def before_print(self):
-		self.gl = frappe.get_list("GL Entry",filters={"voucher_type": "Payment Entry",
+		self.gl_entries = frappe.get_list("GL Entry",filters={"voucher_type": "Payment Entry",
 			"voucher_no": self.name} ,
 			fields=["account", "party_type", "party", "debit", "credit", "remarks"]
 		)
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
index cbade18..c3978d7 100644
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
@@ -54,7 +54,7 @@
 			self.release_date = ''
 
 	def before_print(self):
-		self.gl = frappe.get_list("GL Entry",filters={"voucher_type": "Purchase Invoice",
+		self.gl_entries = frappe.get_list("GL Entry",filters={"voucher_type": "Purchase Invoice",
 			"voucher_no": self.name} ,
 			fields=["account", "party_type", "party", "debit", "credit"]
 		)
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
index 5bc1272..6eea8ad 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py
@@ -206,7 +206,7 @@
 		self.update_time_sheet(None)
 
 	def before_print(self):
-		self.gl = frappe.get_list("GL Entry",filters={"voucher_type": "Sales Invoice",
+		self.gl_entries = frappe.get_list("GL Entry",filters={"voucher_type": "Sales Invoice",
 			"voucher_no": self.name} ,
 			fields=["account", "party_type", "party", "debit", "credit"]
 		)
diff --git a/erpnext/accounts/print_format/bank_and_cash_payment_voucher/bank_and_cash_payment_voucher.html b/erpnext/accounts/print_format/bank_and_cash_payment_voucher/bank_and_cash_payment_voucher.html
index 7b1a8a2..2eadb2a 100644
--- a/erpnext/accounts/print_format/bank_and_cash_payment_voucher/bank_and_cash_payment_voucher.html
+++ b/erpnext/accounts/print_format/bank_and_cash_payment_voucher/bank_and_cash_payment_voucher.html
@@ -34,7 +34,7 @@
                     <td class="top-bottom" colspan="5"><strong>Credit</strong></td>
             </tr>
             {% set total_credit = 0 -%}
-            {% for entries in doc.gl %}
+            {% for entries in doc.gl_entries %}
             {% if entries.debit == 0.0 %}
             <tr>
                 <td class="right top-bottom">{{ entries.account }}</td>
@@ -59,7 +59,7 @@
                     <td class="top-bottom" colspan="5"><strong>Debit</strong></td>
             </tr>
             {% set total_debit = 0 -%}
-            {% for entries in doc.gl %}
+            {% for entries in doc.gl_entries %}
             {% if entries.credit == 0.0 %}
             <tr>
                 <td class="right top-bottom">{{ entries.account }}</td>
diff --git a/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.html b/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.html
index cacb5f2..4565559 100644
--- a/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.html
+++ b/erpnext/accounts/print_format/journal_auditing_voucher/journal_auditing_voucher.html
@@ -34,7 +34,7 @@
                     <td class="top-bottom" colspan="5"><strong>Credit</strong></td>
             </tr>
             {% set total_credit = 0 -%}
-            {% for entries in doc.gl %}
+            {% for entries in doc.gl_entries %}
             {% if entries.debit == 0.0 %}
             <tr>
                 <td class="right top-bottom">{{ entries.account }}</td>
@@ -56,7 +56,7 @@
                     <td class="top-bottom" colspan="5"><strong>Debit</strong></td>
             </tr>
             {% set total_debit = 0 -%}
-            {% for entries in doc.gl %}
+            {% for entries in doc.gl_entries %}
             {% if entries.credit == 0.0 %}
             <tr>
                 <td class="right top-bottom">{{ entries.account }}</td>
diff --git a/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html b/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html
index c8bd5c2..35852e1 100644
--- a/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html
+++ b/erpnext/accounts/print_format/purchase_auditing_voucher/purchase_auditing_voucher.html
@@ -79,7 +79,7 @@
                 <th>Credit Amount</th>
                 <th>Debit Amount</th>
             </tr>
-            {% for entries in doc.gl %}
+            {% for entries in doc.gl_entries %}
             <tr>
                 <td>{{ loop.index }}</td>
                 <td>{{ entries.account }}</td>
diff --git a/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html b/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html
index b3ce888..04de83d 100644
--- a/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html
+++ b/erpnext/accounts/print_format/sales_auditing_voucher/sales_auditing_voucher.html
@@ -73,7 +73,7 @@
                 <th>Credit Amount</th>
                 <th>Debit Amount</th>
             </tr>
-            {% for entries in doc.gl %}
+            {% for entries in doc.gl_entries %}
             <tr>
                 <td>{{ loop.index }}</td>
                 <td>{{ entries.account }}</td>