commit | a938d3956a03d3502ca9066cecdf557f83c75be6 | [log] [tgz] |
---|---|---|
author | Makarand Bauskar <mbauskar@gmail.com> | Thu Jun 29 11:58:50 2017 +0530 |
committer | GitHub <noreply@github.com> | Thu Jun 29 11:58:50 2017 +0530 |
tree | 5c2825aff6928227bcd477d47d83042c8b43057a | |
parent | 02b0ed41990e7cbd2417e07c82c7dfbf1aeefeba [diff] |
[minor] get doc using party_name instead of party
diff --git a/erpnext/templates/pages/regional/india/update_gstin.py b/erpnext/templates/pages/regional/india/update_gstin.py index 9d8d22e..643aafe 100644 --- a/erpnext/templates/pages/regional/india/update_gstin.py +++ b/erpnext/templates/pages/regional/india/update_gstin.py
@@ -22,7 +22,7 @@ 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()