mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +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
|
context.not_found = 1
|
||||||
return
|
return
|
||||||
|
|
||||||
context.party = frappe.get_doc(party_type, party)
|
context.party = frappe.get_doc(party_type, party_name)
|
||||||
context.party.onload()
|
context.party.onload()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user