[minor] get doc using party_name instead of party
This commit is contained in:
parent
02b0ed4199
commit
a938d3956a
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user