From a938d3956a03d3502ca9066cecdf557f83c75be6 Mon Sep 17 00:00:00 2001 From: Makarand Bauskar Date: Thu, 29 Jun 2017 11:58:50 +0530 Subject: [PATCH] [minor] get doc using party_name instead of party --- erpnext/templates/pages/regional/india/update_gstin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/templates/pages/regional/india/update_gstin.py b/erpnext/templates/pages/regional/india/update_gstin.py index 9d8d22e42af..643aafe83cc 100644 --- a/erpnext/templates/pages/regional/india/update_gstin.py +++ b/erpnext/templates/pages/regional/india/update_gstin.py @@ -22,7 +22,7 @@ def get_context(context): context.not_found = 1 return - context.party = frappe.get_doc(party_type, party) + context.party = frappe.get_doc(party_type, party_name) context.party.onload()