mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12:51 +00:00
GL Entries on sale of an asset (#11538)
This commit is contained in:
@@ -177,7 +177,7 @@ def get_party_account(party_type, party, company):
|
||||
frappe.throw(_("Please select a Company"))
|
||||
|
||||
if not party:
|
||||
frappe.throw(_("Please select a Party"))
|
||||
return
|
||||
|
||||
account = frappe.db.get_value("Party Account",
|
||||
{"parenttype": party_type, "parent": party, "company": company}, "account")
|
||||
|
||||
Reference in New Issue
Block a user