mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 23:07:41 +00:00
[minor] get doc using party_name instead of party
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user